By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,137 Members | 1,024 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,137 IT Pros & Developers. It's quick & easy.

How is the C++ standard used to create a GUI?

P: 17
I'm new to C++ and coming from a VB background, I'm battling to understand how to create GUI's with C++ standard. Do I have to use the Microsoft Foundation Classes Library? And if so, where do I get these libraries and how do I include them into my programming? I don't want to buy IDE's that automatically include these libraries. I would like to know how to include these libraries into a plain text editor and then compile using a command line compiler. Obviously I would also need to obtain a resource that explains the MFC library and its use... any suggestions in this regard will be appreciated.

Regards
Tukumbi
Dec 28 '06 #1
Share this Question
Share on Google+
2 Replies


100+
P: 145
I'm new to C++ and coming from a VB background, I'm battling to understand how to create GUI's with C++ standard. Do I have to use the Microsoft Foundation Classes Library? And if so, where do I get these libraries and how do I include them into my programming? I don't want to buy IDE's that automatically include these libraries. I would like to know how to include these libraries into a plain text editor and then compile using a command line compiler. Obviously I would also need to obtain a resource that explains the MFC library and its use... any suggestions in this regard will be appreciated.

Regards
Tukumbi
There are many GUI libraries out there, some of which are not tied to Microsoft, their IDE's, or their proprietary libraries and licenses. Some examples include
[url=http://www.trolltech.com/products/qtQt[/url] and wxWidgets. Another way to go (that doesn't use MFC) is to program in pure win32. The nice thing about using Qt or wxWidgets is that they are cross-platform compatible, which means you can develop for Mac, Linux, and Windows more or less simultaneously.

BTW, both Qt and wxWidgets can be compiled from the command line. (I've had some limited experience doing this with MinGW.) Pure win32 can be done this way, too. (Again, I've done it using MinGW.) I suppose the same may be true for MFC, but I don't know anything about makefiles and/or command-line compiling for MS VC++. -- Paul
Dec 28 '06 #2

100+
P: 145
Oops, I screwed up my links! :)

Qt: http://www.trolltech.com/products/qt

wxWidgets: http://www.wxwidgets.org/

Sorry about that! ;) -- Paul
Dec 28 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.