470,858 Members | 1,662 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Displaying Ohms Symbol in C++

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 5110
9,208 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
By using this site, you agree to our Privacy Policy and Terms of Use.