Why are there so many white spaces in the ASCII characters.
I made a simple ASCII display and it seems like 1/10 characters are blank, so why?
Why are there so many white spaces in the ASCII characters.
I made a simple ASCII display and it seems like 1/10 characters are blank, so why?
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010
I meant the one that would result from;
Code:int count; int main() { count++; std::cout<<count<<": "<<(char)count; }
The link that cpjust provided still applies.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
No, as the the first character is ☺, 2 is ☻... and not all the holes are filled.
Those are glyphs that presumably represent those non-printable characters.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
The first 32 or so characters are non-printable. They represent various commands to a telex machine or so, for which it was invented (e.g ring bell etc)
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge