468,512 Members | 1,423 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

Displaying Ohms Symbol in C++

58
I was told that to put the OHMS symbol into a C++ program you write "\u2126"?

My program fed this to me:

What is the correct method? If anyone could show me how to show superscript and subscripts when running the C++ program, that would be great too (or maybe it's not possible to be shown?)
Mar 1 '08 #1
1 4666
weaknessforcats
9,207 Expert Mod 8TB
You may be after Unicode 2126.

That means you need a font that supoports U 2126. The C++ console only supports Courier 10 and that does not have your symbol.

Try to use Google for tghis sort of thing: http://www.fileformat.info/info/unic...2126/index.htm.
Mar 1 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Dingbat | last post: by
5 posts views Thread by SalamElias | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.