Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

c continue loop

Name: Anonymous 2007-10-24 15:33

"Prompt user to enter 'c' to continue or 'q' to quit"

How do I add that code into my program, thanks alot!
I figure it has to be a typa loop?! i was thinking a while loop but when i tried that it did not work.

Name: Anonymous 2007-10-25 19:00

>>1

Hey I just wrote this program, now what do I do? Here's what it does:

[enterprise-programmer@work test]$ ./stupid_program
Enter 'c' to continue or 'q' to quit
'c' to continue or 'q' to quit
invalid input entered, try again
Enter 'c' to continue or 'q' to quit

HOW DO I MAKE WORK?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List