Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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".
2 Respostas
+ 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
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.