Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Help with strintok
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ZeroKelvin




PostPosted: Thu May 08, 2003 6:23 pm   Post subject: Help with strintok

wut exactly does strintok do?
how is it used?
(in simple terms, that's why i don't want to read the toutorial thingy)
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu May 08, 2003 6:42 pm   Post subject: (No subject)

same parameters as for strint, but it returns true if it can change string to integer. So your program doesnt crash if you enter say 'a' and try to convert that to an integer
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
ZeroKelvin




PostPosted: Thu May 08, 2003 6:49 pm   Post subject: (No subject)

i see ... thanx Smile
Delta




PostPosted: Fri May 09, 2003 8:48 am   Post subject: (No subject)

yeah it's simple.

var num : string
var number : int

get num
number := strint (num)
put number

this will print the integer as a string
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: