N
Nick Keighley
no. plain "char" must have the same representation as one of the types
"signed char" or "unsignd char". It is implementaion defined which.
Soem implementaions even allow you to select it.
the implementaion defined people are correct you are mistaken.
you are giving information about a particular implementation (I'd
guess a Windows system as it usually Windows people that make this
mistake). Other implementations do it some other way. Some don't allow
you modify it at all.
--
We recommend, rather, that users take advantage of the extensions of
GNU C and disregard the limitations of other compilers. Aside from
certain supercomputers and obsolete small machines, there is less
and less reason ever to use any other C compiler other than for
bootstrapping GNU CC.
(Using and Porting GNU CC)
"signed char" or "unsignd char". It is implementaion defined which.
Soem implementaions even allow you to select it.
the implementaion defined people are correct you are mistaken.
Regarding Unsigned or signed character:
Project Configuration -> C/C++ -> Language tab, you can set the value
for "Default Char Unsigned". When you create a project, it would be
set to No by default. You can change it to Yes, if you want. The
compilter switch would be /J.
you are giving information about a particular implementation (I'd
guess a Windows system as it usually Windows people that make this
mistake). Other implementations do it some other way. Some don't allow
you modify it at all.
--
We recommend, rather, that users take advantage of the extensions of
GNU C and disregard the limitations of other compilers. Aside from
certain supercomputers and obsolete small machines, there is less
and less reason ever to use any other C compiler other than for
bootstrapping GNU CC.
(Using and Porting GNU CC)