Special Symbol

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
rtr_18
Posts: 60
Joined: Thu Jun 10, 2010 8:35 am
Location: Programmer

Special Symbol

Post by rtr_18 »

Hi!
I've to display the copyright symbol in my game(circled C). If you don't know what a copyright symbol is, please visit this link:

http://en.wikipedia.org/wiki/Copyright_symbol

How to display this symbol in C++?
Nalin
Posts: 194
Joined: Thu Mar 30, 2006 12:34 am
Location: Lacey, WA, USA
Contact:

Post by Nalin »

The value for © is 0xA9. Add it to your code like so:

Code: Select all

const char* text = "Copyright \xA9 Myself";
Keep in mind that the font you use has to include the symbol.
macron12388
Posts: 126
Joined: Wed Sep 29, 2010 8:23 pm

Post by macron12388 »

Just use

(c)
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

Nalin wrote:The value for © is 0xA9. Add it to your code like so:

Code: Select all

const char* text = "Copyright \xA9 Myself";
Keep in mind that the font you use has to include the symbol.
i find this useful. thanks!
Post Reply