insanomano
2008-05-27 21:46:02
ok I am using Dev C++ I am just getting into C++ and im wondering if this is any good?????
and second I am running through a great TUT but whenever I run the code that I make it quickly flashes the command promp. and my code is saved compiled and made into executable format. it just always flashes the cmd and closes. I was wondering WHY????? :mad:
EDIT: YAY!!!!! thanks to wizzup? from another post I found out what the problem was. im gonna post what to do and keep this for other noobs to read!!!!!!
after your cout just insert
int f;
cin >> f; //This makes it so that when you type any key and press enter it closes!
:D Hope this helps anybody else that encounters this error.
and second I am running through a great TUT but whenever I run the code that I make it quickly flashes the command promp. and my code is saved compiled and made into executable format. it just always flashes the cmd and closes. I was wondering WHY????? :mad:
EDIT: YAY!!!!! thanks to wizzup? from another post I found out what the problem was. im gonna post what to do and keep this for other noobs to read!!!!!!
after your cout just insert
int f;
cin >> f; //This makes it so that when you type any key and press enter it closes!
:D Hope this helps anybody else that encounters this error.