Computer Science Canada need to create anagrams in turing |
Author: | disk256 [ Wed Jun 04, 2008 10:26 pm ] |
Post subject: | need to create anagrams in turing |
hi, im trying to make a game where one has to slove anagrams and guess the correct words but i cant get the anagrams help would be appreciated greatly if possible may i look at a sample code |
Author: | Tony [ Wed Jun 04, 2008 10:41 pm ] |
Post subject: | RE:need to create anagrams in turing |
arrays and substrings in the Turing Walkthrough |
Author: | disk256 [ Wed Jun 04, 2008 10:56 pm ] |
Post subject: | Re: need to create anagrams in turing |
i knw how to use strings but i want to jumble up strings like wen i enter the word dope it shld gimme peod |
Author: | Tony [ Wed Jun 04, 2008 11:06 pm ] |
Post subject: | Re: need to create anagrams in turing |
disk256 @ Wed Jun 04, 2008 10:56 pm wrote: i knw how to use strings
but... clearly not well enough. How would you break a word up into individual letters (same order as the word, for starters)? |
Author: | syntax_error [ Wed Jun 04, 2008 11:28 pm ] | ||
Post subject: | Re: need to create anagrams in turing | ||
disk256 @ Wed Jun 04, 2008 10:26 pm wrote: if possible may i look at a sample code no as for a simple guildline on what you are going ot make on your own, here a small push
|
Author: | jeffgreco13 [ Thu Jun 05, 2008 10:15 am ] |
Post subject: | Re: need to create anagrams in turing |
LOL i really hope you don't put that above code into Turing. But really pay attention to what Tony said, there's a way to isolate the characters for each word and scramble them as you please. You're gonna have to look it up tho, it's not nearly as hard as it may seem. |
Author: | disk256 [ Sun Jun 08, 2008 10:00 pm ] |
Post subject: | Re: need to create anagrams in turing |
wasnt hard figured it out myself after stayin up till 4 am |
Author: | syntax_error [ Mon Jun 09, 2008 3:22 am ] |
Post subject: | Re: need to create anagrams in turing |
jeffgreco13 @ Thu Jun 05, 2008 10:15 am wrote: LOL i really hope you don't put that above code into Turing.
It is called pseudo-coding. |
Author: | jeffgreco13 [ Mon Jun 09, 2008 10:36 am ] |
Post subject: | Re: need to create anagrams in turing |
OMG really? i thot those were legit commands in Turing... I'm just saying I hope he realizes it's pseudo and doesn't try to use that and adapt it to his own. The things I've seen some inexperienced programmers do, would blow your mind. |
Author: | S_Grimm [ Thu Jun 12, 2008 12:34 pm ] |
Post subject: | RE:need to create anagrams in turing |
use an array of char |