473,406 Members | 2,378 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,406 software developers and data experts.

Quick advice

hi, im a noob on this site and on C++.

how do i display a £ symbol in C++. can someone help me from scratch eg calling any libraries where to put the asci code etc... would much appriciate it!


cheerz
Dec 11 '06 #1
4 1120
seforo
60
Unfortunately I cound not find pound sign in ASCII, but to print say $, you can look at its octal value which is which is 044 then you can just write

cout<<char(044)<<endl;
Dec 11 '06 #2
willakawill
1,646 1GB
hi, im a noob on this site and on C++.

how do i display a £ symbol in C++. can someone help me from scratch eg calling any libraries where to put the asci code etc... would much appriciate it!


cheerz
the £ symbol is the unicode character 163. You project needs to be set to UNICODE.
Dec 11 '06 #3
sonic
40
Just curious, how do you set it to unicode. Is it:

#include <unicode>

Something like that?
Dec 11 '06 #4
willakawill
1,646 1GB
Just curious, how do you set it to unicode. Is it:

#include <unicode>

Something like that?
It is part of the project preferences
Dec 11 '06 #5

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

Similar topics

3
by: Al. C | last post by:
Yeah I know this has been done before, but it usually gets into a spitting contest. I run Slackware Linux 9.1 with KDE 3.14. I recently finished about 200,000 lines of code...
2
by: John Davis | last post by:
I want to add a "quick search" functionality in ASP or ASP.NET page. I heard we can use Microsoft Indexing Service to accomplish the task, but not sure how to do it. Is this the correct approach??...
15
by: middletree | last post by:
I know I could write one, but is there a built-in VBScript/ASP function to take a date, which is in the format mm/dd/yyyy, and put it in a yymmdd format?
1
by: DaVinci | last post by:
I did a google web & group search and didn't find an answer to my question so... here we go. Will try to keep it short. (I am not a complete beginner but am still pretty low on the food chain). ...
1
by: aredo3604gif | last post by:
On Sun, 10 Apr 2005 19:46:32 GMT, aredo3604gif@yahoo.com wrote: >The user can dynamically enter and change the rule connection between >objects. The rule is a "<" and so given two objects: >a <...
33
by: earthlinkmail | last post by:
....you experienced programmers of C; did you start with C? What course of study did you pursue to get to where you are today? Would you suggest starting with REALbasic first for a n00b? I am...
2
by: buchstaebchen | last post by:
Hi folks, I need advice in finding an appropriate python module for 3D surface plots, such as for the visualization of wave-dynamics...I'd prefer something capable of being embedded in wxpython...
0
by: mensuur | last post by:
hiya, on the http://www.microsoft.com/ webpage in the top right corner there is link that reads 'quick links'. hover over it and you will see a popup menu. such a control would be incredibly useful...
0
by: Chris Thomasson | last post by:
<wkaras@yahoo.comwrote in message news:1156863246.290976.191710@i3g2000cwc.googlegroups.com... volatile has nothing to do with the memory model... Well, except in Microsoft... ...
1
by: =?Utf-8?B?eFNBTkRJeA==?= | last post by:
I cant get i tunes/ quicktime working on the computer, I had both of these before but they are not working now for some reason. Advice given on Apple site was to uninstall and then install...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.