
April 23rd, 2002, 07:04 AM
|
|
Registered User
|
|
Join Date: Mar 2002
Posts: 20
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Its a long time I've done console IO, but I assume you aren't getting the sign in.
Try a loop like
[ccode]
int i=0;
while(i>=0) {
cin >> i;
cout << i;
}
[/ccode]
and see if you can input negative numbers. (Or just use the debugger).
If you can, just add the rest of your code block by block and see when it breaks.
|