|
-
May 11th, 2002, 10:16 AM
#1
-
May 11th, 2002, 10:50 AM
#2
Frenzied Member
char cont='c'
needs a semicolon after it
-
May 12th, 2002, 09:47 AM
#3
-
May 13th, 2002, 08:16 AM
#4
BTW what is the loop variable for? Why not make a while loop?
while(cont='c') ...
where's the problem with this line of code?
You need == !
Oh, and you don't give the user a chance to "press any key to exit"...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 13th, 2002, 06:33 PM
#5
i dunno
i felt like doing a for 
if they press anything but c they quit
-
May 13th, 2002, 06:37 PM
#6
Frenzied Member
hmm where do you assign the value to cont than?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|