I'm working with strings now,and I wondered how can you center your strings,and add color to them as well?Also how do you add italics and bold, stuff like that?
Printable View
I'm working with strings now,and I wondered how can you center your strings,and add color to them as well?Also how do you add italics and bold, stuff like that?
Depending on your environment, I think you need an API similar to ncurses:
NCURSES Programming HOWTO
You can find a way of colouring text in the FAQs, but for anything fancy-dan you are best with the api as suggested