Page 3 of 3
Re: [Solved] Pause Function
Posted: Tue Jul 07, 2009 5:43 pm
by Ginto8
ok... I'm surprised no one else has thought of this:
Code: Select all
#include <conio.h>
int main()
{
...
getch();
...
}
Note that it only works on windows, but it is exactly the kind of thing you're looking for zodiac
Re: [Solved] Pause Function
Posted: Wed Jul 08, 2009 4:44 am
by zodiac976
Ginto8 wrote:ok... I'm surprised no one else has thought of this:
Code: Select all
#include <conio.h>
int main()
{
...
getch();
...
}
Note that it only works on windows, but it is exactly the kind of thing you're looking for zodiac
Actually I did post that but you can't use getch() like that
the compiler will say to use _getch(); under the conio.h
but I believe that is not a C++ standard so I don't think
I will use it :/.