+ 4

What is this library used for? #include<windows. h>

30th Apr 2017, 5:13 AM
Harikrishnan s
Harikrishnan s - avatar
3 Antworten
+ 16
Windows header is enormous lol. I use to to manually set console text/background color, and even adjust the original colour table for extra colours. Sleep(), for example, delays console output based on specific ms. As @C0MPL3X pointed out, GetAsyncKeyState for really dank stuff. Much, much more.
30th Apr 2017, 6:47 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
Finally a person asked this :D I tried this once and you can use these stuff if((GetAsyncKeyState == VK_UP) != 0) { //When you click up button on your keyboard this function will work } I dunno about what other functions are (Google em) But windows.h is useful for console games =)
30th Apr 2017, 5:23 AM
Complex
Complex - avatar