Computer Science Canada

Spacing, Locating

Author:  elmocookies [ Thu Nov 20, 2008 11:07 am ]
Post subject:  Spacing, Locating

How do you choose the location of text in C? I'm looking for a locate command or something similar so I can center the title etc.
(And just in case, I'm using CodeBlocks as the compiler.)

Thanks in advance.

Author:  OneOffDriveByPoster [ Thu Nov 20, 2008 10:13 pm ]
Post subject:  Re: Spacing, Locating

Can your output be done left-to-right, top-to-bottom? You can print spaces...
Can you center text? Probably not--unless if you know your window size.

You can use the curses library if you can find it for your platform.


: