Hello
can anybody say the shortcut needed for typing the character
" █ "
to be able to type the character in c++ editor window and as well as
show it in the ouput screen
Printable View
Hello
can anybody say the shortcut needed for typing the character
" █ "
to be able to type the character in c++ editor window and as well as
show it in the ouput screen
Maybe its just me but that shows up as a black box...
Well any non-printable character in code is usually written as say
cout << '\x41';
It's an UTF-8 character...
An attached image would be helpful.
If your console background color is black you can try this:
std::cout<< ' ';
or
std::cout<< (char)0xdb;
or summit
Assuming the character he wants to display is the black box.