+ 2
what is the role of........#include <windows.h>.........??? plz
5 odpowiedzi
+ 10
<windows.h> provides you with declarations for all of the functions in the Windows API. E.g. SetConsoleTextAttribute, STD_OUTPUT_HANDLE. If you are running Windows and want to simulate keystrokes and stuff.
+ 8
There is a cross platform alternate available called ncurses also.
+ 1
by adding #include <windows.h> to your code's #include's, you can use windows's exlusive functions to create a windows box at your liking, for instance you can create a windows box that says: Is this a box? that has two buttons: Yes and No; which you can give both different functions when pressed, there are a lot of other options you can use with it too!