first of all this is not a language construct I use
(obviously, since I'm using jalopy for it ;)) )
do
val = in.read();
while( val == (int)'\n' || val == (int)'\r' );
became:
doval = in.read();
while( val == (int)'\n' || val == (int)'\r'
after that the compiler complained about unknown
variable doval ;))
the work around is NOT to use
do
statement;
while( expr );
but:
do
{
statement;
} while( expr );
but if you get imported/foreign sources you are
ofcourse not in control of what you receive ;(
Marco Hunsicker
None
None
Public
|
Date: 2002-07-15 22:26 Logged In: YES |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use