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

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




PostPosted: Wed Dec 13, 2006 9:34 pm   Post subject: String Manipulation

Hi again guys. In my last topic I don' t think that I was really getting the point across... What i'm trying to accomplish is to write a program that will accept any user name (min 3 char, max 12), then output the attached design fully centred using their name. I have been succesful making a square and a pyramid using there name but It would be really neat if I could get this design to work...


String Manipulation Design.doc
 Description:
Design Model (Microsoft Word)

Download
 Filename:  String Manipulation Design.doc
 Filesize:  19.5 KB
 Downloaded:  89 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Wed Dec 13, 2006 9:52 pm   Post subject: (No subject)

well I'm not gonna go looking through your Word file (besides other reasons, simply because I don't have MS Word).

Though if you are trying to position a string on the screen, good functions to know are locate(), and length(). You can figure out how large your screen is with maxrow, maxcol.

Everything else is just simple math.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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: