I'm trying to write a program that outputs the cent symbol (¢) in Visual Studios 2010 and when I copy and paste the symbol into my text it outputs a completely different symbol. I've also tried using \u00A2 and I still get a different wacky symbol. What is the C++ source code for the sign?
kra9853
0
Light Poster
Recommended Answers
Jump to PostThis depends on how your console/terminal interprets the character code. Every character is represented by a number. The mapping between number and character depends on which character encoding is being used. \u00A2 is a ascii representation of the unicode code point 0x00A2 representing the cent symbol. Since unicode requires one …
All 4 Replies
Red Goose
21
Junior Poster
rxlim
2
Junior Poster in Training
kra9853
0
Light Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.