Thread: Dev c++
View Single Post
Old Feb 20th, 2005, 10:26 PM   #16
Xero
Hobbyist Programmer
 
Join Date: Dec 2004
Location: a cardboard box
Posts: 118
Rep Power: 4 Xero is on a distinguished road
LOL forget that

just add:
int fsd;
cin >> fsd;

put this at the very end right before return 0;
its cuz some compilers just terminate immediately after execution. Yea, I was quite confused too when I switched compilters from the Borland to Visual Studio .Net (I think). I still don't know why though, but you probably have to add a cin or get char/line or whatever to pause.
__________________
...
Xero is offline   Reply With Quote