In c++ how do I create a window and a button in Visual Studio 2015? Also what is MVC? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In c++ how do I create a window and a button in Visual Studio 2015? Also what is MVC?

i am trying to figure this out but first I need to know how to even create a window and button. For the basic save and load, make four buttons.  "Save A" and "Load A" will save and load to a file called "savea.txt".  "Save B" and "Load B" will use "saveb.txt".

31st Jul 2018, 2:58 AM
DerpyCoco
DerpyCoco - avatar
2 Answers
+ 2
Window and button are OS specific. You have to use API for that. There is a good c++ framework- https://www.qt.io/download A tutorial to go with- (Its old but gold) https://m.youtube.com/playlist?list=PLD0D54219E5F2544D Model–view–controller is an architectural pattern commonly used for developing user interfaces that divides an application into three interconnected parts. This is done to separate internal representations of information from the ways information is presented to and accepted from the user.The MVC design pattern decouples these major components allowing for efficient code reuse and parallel development. https://en.m.wikipedia.org/wiki/Model–view–controller
31st Jul 2018, 3:12 AM
Akib
Akib - avatar
0
DerpyCoco you changed the question after posting it. That's not a good way to get answers. Check out the VS documentation for cpp for details.
31st Jul 2018, 5:53 AM
Akib
Akib - avatar