Simple, Visual C++ Source code to learn from
Author |
Message |
x-ecutioner
|
Posted: Mon Nov 02, 2009 8:56 pm Post subject: Simple, Visual C++ Source code to learn from |
|
|
hi there,
I look forward to creating GUI applications with visual C++, but we have not done GUI or even OOP in class yet.
1) is OOP essential to program with a GUI?
2) furthermore, is making a GUI complicated? the tutorials I've been following have been headache after headache and even after figuring them out, I dont understand applications as a whole.
3) are there any sample more simple visual C++ source codes you can refer me to/suggest?
thanks
x-ecutioner |
|
|
|
|
|
Sponsor Sponsor
|
|
|
DemonWasp
|
Posted: Tue Nov 03, 2009 2:37 am Post subject: RE:Simple, Visual C++ Source code to learn from |
|
|
1) No. It's possible to write GUIs in non-OOP languages. Many toolkits, however, are designed for OOP because doing so makes sense.
2) Making a GUI is deceptively complex, though the code turns out to be relatively mundane. The most difficult part is probably going to be inverting the flow of control of your programs - in a console application, the user is prompted for input; in a GUI app, the user is shown a display which may be accessed in a variety of ways which may send the application down different execution paths.
3) Sorry, I don't write much C++, maybe someone else can help. |
|
|
|
|
|
|
|