+ 1

Why i get a rectangular figure as output for this code?

#include <iostream> using namespace std; int main() { unsigned char b = 23; if(b){ cout <<b; } return 0; }

20th Nov 2017, 2:07 PM
Mind To Machine 💻🕆
Mind To Machine 💻🕆 - avatar
1 Réponse
+ 8
see the ascii table: http://en.cppreference.com/w/cpp/language/ascii printable characters start at 33.(32 if you include space) 23 is ETB (end of transmission block) and is non-printable
20th Nov 2017, 2:14 PM
jay
jay - avatar