How do you make symbols (such as ©) to display in a program? I tried adding it into the code, but it s hows up a small upsidedown L. Is there some code you need to put instead of the symbol to make it appear?
Printable View
How do you make symbols (such as ©) to display in a program? I tried adding it into the code, but it s hows up a small upsidedown L. Is there some code you need to put instead of the symbol to make it appear?
This is entirely system dependant. The method approved by the holy standard is std::cout << "(C)"; Going beyond that is a topic better sutied to system specific boards. these are the symbols available on a PC in console mode, usually, mileage may vary, void in some states.
If you don't find it in there, then just print out "(C)".Code:for(int i=127;i<256;i++){
cout << char(i);
}