I suppose you could criticise it as being rather pedantic, but actually, there is no ASCII character with a value of 219. Strictly speaking, the ASCII table only has 128 entries, from 0 to 127.Originally Posted by Nwb
I suppose you could criticise it as being rather pedantic, but actually, there is no ASCII character with a value of 219. Strictly speaking, the ASCII table only has 128 entries, from 0 to 127.Originally Posted by Nwb
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
> 8bit ASCII has 256 values, so what are the rest of the characters?
Dependent on what your environment chooses to do with them.
Category:DOS code pages - Wikipedia
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
What that means is that you have discovered that neither the C++ standard library nor the version of the conio library available to you provides the functionality to "check for 'key down events'". Saying that "C++ cannot check for 'key down events' without using some library or win api" is technically true, but it has different implications. For example, did you know that you cannot use C++ to perform any I/O without using some library? Yes, the C++ core language has no support for I/O, so that is true. You would use the standard library, or some OS library like the Windows API or POSIX functions, or some other I/O library that builds upon these or is specific to a freestanding implementation.Originally Posted by Nwb
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I see. I really think there's no point in criticizing somebody's post if you're not going to tell them what your criticism even is. I would have never known what Jim was trying to tell if it weren't for you guys, Salem and laserlight.
And now Jim will quote this post and tell "not my bad you don't know anything". I know how this works now.