Computer Science Canada

String Manipulation

Author:  jakey140 [ 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...

Author:  Tony [ Wed Dec 13, 2006 9:52 pm ]
Post 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.


: