Press enter key to continue, in C++, is always system("Pause"); man. The other two you used are silent. You usually a real compiler and including iostream? xD
I'm having trouble..
I Have a windows form.. and a button, when the button is pressed, it changes the text in the label that i have..
I want it to wait for a keypress (enter) for it to continue, and change the label again..
system ("pause");
does NOT work.
Neither does getch();
or std::cin.get()
Please help. someone?
*Bangs Head*
Press enter key to continue, in C++, is always system("Pause"); man. The other two you used are silent. You usually a real compiler and including iostream? xD
Its not lol.. i'm running winxp Professional, using VC++08..
No idea what's wrong.
and yea, at the top i have:
Anyways.. i think i found what might have been the problem.. i was trying to do it in a (name).h file.. that might be it.Code:#include <iostream> #include <stdlib> // <-- My friend said that should work.. and it didn't.
Anyways, if that was my problem.. how do i do it in the .cpp, and make it link to the Windows Form?
<stdlib> needs to be renamed to <stdlib.h> but youll have to look for stdlib and you also need to look for stdlib.cpp try to search the file on google
@ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist
neuest gift from Yura~Chan:
https://bakyurayuu.deviantar*****m/#/d372taw
2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
come on you know that don't want to push that ordinary button