Last active
August 29, 2015 14:10
-
-
Save Seth-Johnson/c254b986e81d030223a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int theRandomNumber = getRandomNumber(); | |
int currentGuess = 0; | |
int tries = 0; | |
std::string triesString = "Tries: " + tries; | |
SendMessage(g_hEdit_Answer, EM_SETCUEBANNER, 0, (LPARAM)L"Enter guess.."); | |
SendMessage(g_hLabelEdit_Result, WM_SETTEXT, 0, (LPARAM)L"Guess a number between 0 and 99."); | |
SendMessage(g_hLabelEdit_Info, WM_SETTEXT, 0, (LPARAM)triesString.c_str()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment