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

Username:   Password: 
 RegisterRegister   
 Spacing, Locating
Index -> Programming, C -> C Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
elmocookies




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
OneOffDriveByPoster




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, C -> C 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: