Computer Science Canada using strintok |
Author: | Prince [ Fri Jun 06, 2003 10:19 am ] |
Post subject: | using strintok |
ok for one part of my program im trying to check if a letter is entered instead of a number... i tried using strintok but it doesnt seem to b workin properly so any suggestions on how i should b usin it ![]() |
Author: | tum_twish [ Fri Jun 06, 2003 10:51 am ] |
Post subject: | |
post the code plz |
Author: | PaddyLong [ Fri Jun 06, 2003 11:06 am ] | ||||
Post subject: | |||||
if you're making sure that they enter a number for input use something like this....
you could also add some more conditions to the exit statement on the loop... like say you wanted the number to be between 5 and 10 or something your exit statement would look something like
hope this helps you in your endeavours [/code] |