I've seen some tutorials that require you to include windows.h (a header file, I assume), but I don't seem to have it. From what I've read, it's a useful bunch of #include's stuffed into one.
Is it useful? Where can I get it?
Printable View
I've seen some tutorials that require you to include windows.h (a header file, I assume), but I don't seem to have it. From what I've read, it's a useful bunch of #include's stuffed into one.
Is it useful? Where can I get it?
windows.h is a header that makes your program runs in windows mode (the normal window that u can resize and do other stuff like minimize and maximize)
Older compilers and MSVC++2005 express will not have windows.h included. The only way to get it is to download the platform SDK
Huh huh, no. It does mean that your code will be Windows-specific (i.e. non portable) but including windows.h will not make your program pass from console to a GUI-based application.Quote:
Originally Posted by Hussain Hani
What windows.h does do is give you the functions to run in windows mode, but it is possible to make a command window using windows.h. If you want to make a win32 GUI, you use certain functions from windows.h. Including the windows header file will not ensure a GUI.