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

Username:   Password: 
 RegisterRegister   
 noob question about string manipulation
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
qwertyuiop




PostPosted: Sun Nov 05, 2006 1:10 pm   Post subject: noob question about string manipulation

hey guys im new to turing and i was wondering if any one could help me with a few problems i have...

first is i would like to get a sentence and display it backwards, i.e compscie.ca --->ac.eicspmoc

second i would like to display only the vowels in a sentence, i.e
compscie.ca ---> oiea

thats all for now, thanks guys
Sponsor
Sponsor
Sponsor
sponsor
richcash




PostPosted: Sun Nov 05, 2006 5:17 pm   Post subject: (No subject)

Read this and see if you get it.
Btw, that's an extremely creative username. Wink
TokenHerbz




PostPosted: Mon Nov 06, 2006 9:23 am   Post subject: (No subject)

ok, i dont get his name...

maybe its late, maybe im tired, but care to explain the creativity of it?
Clayton




PostPosted: Mon Nov 06, 2006 10:43 am   Post subject: (No subject)

it's the top row on the keyboard....
the creative comment was a sarcastic one

on topic:

if you read that tutorial, you should get all you need, basically break the problem down into smaller problems:


  • How to get the string backwards (ie taking each character from the end backwards)
  • Putting the string together
  • Displaying it
  • Finding the vowels
  • Exceptions on unexpected input
  • Putting the string together
  • Display


Learning to problem solve is a major thing to learn for programming (and many other things, this is why someone who is good at math can generally be a good programmer, math students are typically the better problem solvers)
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: