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

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




PostPosted: Fri May 20, 2005 4:43 pm   Post subject: Hang-Man-Help

Aite here we goe... i have to make a stupid hangman program and i need HELP.......
aite all i need help is.. is with seperating the letter for ex lets say i do the following

var letter,word:string
get word

now lets say that i enter abcd for word

then i go
get letter
so for the letter thingie i have to get the letters individually right so how do i do that individually? please help thankx
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Fri May 20, 2005 4:56 pm   Post subject: (No subject)

If you're looking to get one letter at a time, use getch(). To search through your word to find where that letter is located, use index. Check the turing tutorials section for a tut on index. (there's a link in the Turing Walkthrough sticky)
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  [ 2 Posts ]
Jump to:   


Style:  
Search: