https://bugs.kde.org/show_bug.cgi?id=278482

chaitanya srinivas ponnapalli <cponnapa...@mail.csuchico.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cponnapalli@mail.csuchico.e
                   |                            |du

--- Comment #1 from chaitanya srinivas ponnapalli 
<cponnapa...@mail.csuchico.edu> ---
Created attachment 98737
  --> https://bugs.kde.org/attachment.cgi?id=98737&action=edit
unsigned char when used as template

Reproduced the above steps:
    1. Executed the code given.
    2. Kdevelop does not treat the signed char type as signed int.
    3. Similarly, unsigned char is not treated as unsigned int.
    4. Attached the screen shots containing the code executed.

In accordance to the statement in expected result:

A char is both a character representation, but for the purposes of converting
to an int, it's also a int representation. A simple char is used to store
simple characters. However, if you are using character types as numbers then
use signed char(-127 t0 +127 range) and unsigned char(0 t0 255.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to