473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 5758
weaknessforcats
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

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

Similar topics

1
by: Dingbat | last post by:
I am finding that when I use XSLT to display convert XML like this: <temp units="°C">23</temp> the resulting HTML displays an extra character in front of the degree symbol, like this: 23°C...
5
by: SalamElias | last post by:
I followed instructions in MSDN help articles and wrotethe folowing code in order to display numeric numbers with Euro symbol as follows : ---------------------------- Dim OutString As = "" Dim...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
2
by: janie678 | last post by:
Hi, very new to php. My signs are all displaying weird characters instead of symbol. I tried &pound but still not working. I'm using utf-8. Can anyone help. Jan
3
sammyboy78
by: sammyboy78 | last post by:
I'm trying to display an array of objects using a GUI. My instructions are that the CD class and it's sublcass don't need to change I just need to modify class CDInventory to include the GUI. I'm not...
38
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
2
by: nagarwal | last post by:
Hi All, i am facing a very typical problem ..where i need to display the currency Euro symbol onto the jsp page. i could have done it using the java.util.Currency class but i cannot set the...
3
by: =?Utf-8?B?UmljaA==?= | last post by:
I copied a down arrow triangle symbol from the character map and added this symbol to a menu Item on a menustrip on a form in my app. On saving the project a dialogbox asked if I wanted to...
6
by: Jeff | last post by:
hi asp.net 2.0 I have a image (.jpeg) stored in sql server 2005 and now I want to display it on a webpage. So I created a webpage (Image.aspx) which just writes the buffer data to the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.