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 symbols for iron chloride plus hydrogen are: FeCl2 + 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();


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

Write a function that print a triangle of stars.


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.


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


C plus plus program to print number patterns?

bghjg


Do I need a C plus plus program to print PASCAL's triangle?

No.