comp.lang.c
[Top] [All Lists]

Re: printf and cout

Subject: Re: printf and cout
From: Bernhard Schauer
Date: Wed, 26 Mar 2008 11:27:38 +0100
Newsgroups: comp.lang.c

Richard Heathfield wrote:

> There aren't any unknown ASCII characters. If the printed '?' /is/ an
> ASCII character, then it has code point 63. If it hasn't, then it isn't an
> ASCII character.

Thats ok. But if there is a number as character printed (depending on the
locale, thus not guaranteed to be ASCII) that is "unprintable" (control
codes, ...) a special character may be inserted by the terminal - it looks
like a question mark (it may also be one).

On my computer a white question mark on a black background is printed. 

regards,

-- 
Bernhard Schauer
schauer_at_cruxy_dot_net

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy