View Single Post
Old 10-20-2005, 02:35 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
Quote:
Error line 4: clscr() undeclared first use of this identifyer
Error line 10: numSwimmers undeclared first use
....
It just goes on and on, how many swimmers do you have? Are you sure the name you input are exactly represented in your swimmers list ?
The code shown here is of no use what so ever. the proclaimed piece where you error out isn't even represented in the two segments, there isn't any part of it, which would be the smallest compilable part that shows your error....

What is the value of your currentE? What is the value of your inputv ? sometimes the easiest way to figure out why strange things happen, is to fill your code with debug output displaying every variable that might have some influence with the expected behaviour.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote