Do the tutorials here even teach gui?????? in most tutorials i see no explanation of GUI
Do the tutorials here even teach gui?????? in most tutorials i see no explanation of GUI
Laugh
because gui is not a feature of C/C++. It is OS specific.
"You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter
So how would you incorporate gui with c++????????????
Laugh
either by including machine specific assembly code for graphics output or by using a given API. Win32 API for instance.
"You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter
Do you do gui??????????????????????????????????
Laugh
Get Chartles Petzold's book "Programming Windows". (If you're using MS Windows.)
But, learn C++ first! The "Hello World" program for windows is two or three pages long!!! And, most of the program won't be recognizable if you don't know anything about the Windows API (Application Program Interface). Most of the stuff in Petzold's "Hello Windows" program is Windows-specific structures and calls to functions defined in windows.h
Because of the programming overhead, Windows programming is MUCH harder to learn than text-based programming. I mean that after a few chapters of "C++ in 21 days", you are really starting to learn something. After a few chapters of "Programming Windows" you are scratching your head and re-reading... and reading...
Is that so?Originally posted by DougDbug
The "Hello World" program for windows is two or three pages long!!!
Code:#include <windows.h> int WINAPI WinMain(HINSTANCE CurInst, HINSTANCE PrevInst, LPSTR Args, int Show) { MessageBox(NULL, "Hello world", "My first program", MB_OK); }
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
LOL! you're a character. yeah, I gui I guess. Win32 API professional!Originally posted by laughman
Do you do gui??????????????????????????????????
"You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter
Yeah Megos, Petzold's first example is quite long. I don't have the book with me, and I don't remember the details but it's not just a message box, I think it has scroll bars and can be re-sized etc.
I WISH he would have started out with a two line program, 'cause it was really overwhelming!
But the Petzold book is thorough, and he assumes the reader knows nothing about windows-specific programming.