|
-
Aug 5th, 2002, 08:14 PM
#1
Thread Starter
Addicted Member
take in a string
I have a function that prints a bunch of junk, then leaves it up to the user to determine what they want to do next. I want them to type in the string "run hello.exe" and then whenever they type in something other than that, I want the program to say "Bad command" and keep doing that until the user types the correct string. How should I go about this?
--Thanks
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
|