Displaying 1 result from an estimated 1 matches for "world10".
Did you mean:
world1
2010 Oct 14
0
[LLVMdev] [cfe-dev] confusion with character types
...signed char and
>> unsigned char as characters instead of numbers?
>
> That seems to me to be the better interpretation. Specifically, it
> would be surprising (to me) if
>
> std::cout << "Hello world" << '\n';
>
> caused "Hello world10" to be displayed.
Actually I get what he is saying, '\n' is a char, but unsigned char
and signed char are different types from char, and they should be
distinct from char and displayed as integers, where char should be
displayed as a string. I always have to remember to display my by...