The while loop, goes through GetAsyncKeyState each time, and finds if its 1, if it is then it increments our type double ourNum, but.. nothing is outputting..Code:#include <iostream> #include <stdlib.h> #include <windows.h> double ourNum = 1.00; int main ( ) { while ( GetAsyncKeyState(VK_UP) == 1 ) { std:: cout << ourNum++ << std:: endl; } std:: cin.get(); }