answersLogoWhite

0


Best Answer

UTF-16 strings or characters (std::wstring or wchar_t) are the best method of assigning and printing special symbols. UTF-8 encoding using std::string can be used to minimise memory consumption but still requires conversion to wide-string for printing purposes. However, if the symbols are within the range of extended ASCII character codes (0x00 to 0xff), then an unsigned char or std::string is all you really need.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you assign or print special symbols in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What uses keywords plus special symbols to find more specific information?

A uniform resource locator [url]


How do you get to 9 using 123456789 - plus using numbers and symbols only once?

-- Photocopy the question or print the screen. -- Trim and discard the first 8.


What c plus plus statements assign x the value 12?

x = 12;


What are the chemical symbols for iron chloride plus hydrogen?

The chemical symbol for iron chloride is FeCl3 and the chemical symbol for hydrogen is H2. Therefore, the combination of iron chloride with hydrogen would result in the reaction FeCl3 + H2.


Plus 1 blue print for chemistry?

i want plus 1 blue print for all subjects


What is 9x squared plus 6x plus 1?

You can calculate a value if you assign a value to variable "x".


How do you print to the screen in C plus plus?

printf();


What is the use of print option in c plus plus?

C++ has no print option. The print option in your IDE allows you to print your C++ source code, thus giving you a "hard" copy of your code.


Write a C plus plus function that print a triangle of stars?

Write a function that print a triangle of stars.


Is there a difference between you plus plus and plus plus you?

you++ will return the current value of you and increment it. ++you will increment it and then return the new value of you. So, for example: int you = 0; cout << you++; // this will print 0 cout << you; // this will print 1 int you = 0; cout << ++you; // this will print 1 cout << you; // this will also print 1


What is the term for a mathematical symbol?

I do not think there is any special term for mathematical symbols in general. They are classified according to what they stand for, such as variable, constant, operator, digit, etc and many individual symbols have names such bracket, brace, ampersand, plus sign,carat,etc.


C plus plus program to print number patterns?

bghjg