Usefull.h file, ExitWindows, Fullscreen...
Hi.
I created a little .h file to make some thing easier, it may sucks but that is your opion, if you don't like it... don't download it. If you use this you can just simple typ in your source Exit; to shut down your computer, typ Fullscreen; to open Win32 Console in fullscreen, typ Smallscreen; to make Win32 Console smaller, oh yeah and I've add an useless function: if you typ: Cls; it clear's your screen. To use or how I use it: place the Usefull.h file somewhere on your computer, I put in C:\Dev-Cpp\include. Then [IMPORTANT] you NEED to typ at the top of your source the following line: #define _WIN32_WINNT 0x0501 This is 100% neccesary (sorry). And under that you need to add (off corse) #include <Usefull.h> (you don't need to include windows.h now). For me it's quite usefull so thought that I can give it to you, I created this but I used some source from Br5an and Xei. If you know a way that I don't need to typ #define _WIN32_WINNT 0x0501 at the top of my source (that I can put it in Usefull.h) please tell me.