View Single Post
Old 11-23-2004, 02:56 AM   #4 (permalink)
Silvy
paranoid
 
Silvy's Avatar
 
Location: The Netherlands
Are you doing anything else in that while-loop? 'cause I can't see anything that would break the loop (with very limited c++ knowledge I might add)

edit: perhaps it's the variable type of 'x' that is causing the problem?
will the '>>' operator fail with an incorrect variable? (i.e. if x is declared as an int, will assigning a string fail, thus not moving the filepointer towards EOF, and retaining the original value of 'x'?)
__________________
"Do not kill. Do not rape. Do not steal. These are principles which every man of every faith can embrace. "
- Murphy MacManus (Boondock Saints)

Last edited by Silvy; 11-23-2004 at 02:59 AM..
Silvy is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73