Next Generation Emulation banner
1 - 7 of 7 Posts

·
Registered
Joined
·
1,577 Posts
What do you mean by centering the text? Is this GUI programming? Console programming? You really have to be more specific.
 

·
Registered
Joined
·
30 Posts
Discussion Starter · #5 ·
scottlc said:
What do you mean by centering the text? Is this GUI programming? Console programming? You really have to be more specific.
Sorry for that I want to center text in console programming and i wnt to add color to the text....how would i do that??? thank you...
 

·
War Games coder
Joined
·
1,926 Posts
For that you need to make use of some libraries. If you're using *nix, this is straight-forward using ncurses. However, you're probably using Windows, and you may be able to get away with using the windows console functions:
  • This guy seems to have quite a few console examples - I see one example specific to color using the windows console
  • A google search string that may help you find it easier
 
1 - 7 of 7 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top