Sunday, July 12, 2009

Can C++ be used to create Windows (with graphical interface) programs?If yes,how?

See, like Visual Basic can create programs with GUI,can C++ do the same?Can you people tell me how to go about doing it?

Can C++ be used to create Windows (with graphical interface) programs?If yes,how?
C++ programs can use the MFC library to create windows-type widgets. http://en.wikipedia.org/wiki/Microsoft_F...





Visual C++ from microsoft might provide an actual RAD tool to allow you to drag/drop widgets and get the C++ code.





Finally, you can use any third-party windoing library like qt or wxwindows from your C++ code -- you just have to write the code!
Reply:Visual C++ can . That's why it's called "visual" - lol. it can do everything related to GUI's and menus and so on
Reply:Yes C++ can. The only difference is it ain't straight forward like Visual Basic.





Here's the deal. On a 1 to 10 scale where 1 is the easiest and 10 is the hardest, doing GUI's with C++ stands at 7 ~ 9 depending on your prior programming abilities. If you are using Microsoft Visual C++ as the IDE, I'd recommend you use the Visual Studio Wizard to create a sample MFC GUI program and see how it is being done. MFC is Microsoft's framework for rapid application development that include GUIs. But keep in mind, without any fancy framework or foundation class, you can still write GUIs for Windows by only using raw C++. This is knows as using the API which is even harder and time consuming compared to using something like MFC.

online survey

No comments:

Post a Comment