> [EMAIL PROTECTED] said:
> I go this from some mailing list ... dont know if it helps but for what it is
> worth ...
>
> In C, a char is a kind of integer, and so there is such a thing as an "unsigned
>char".
>
> In C, "char" can mean either "unsigned char" or "signed char",
> depen
> -Original Message-
> From: Paul Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 21, 2001 9:37 AM
> To: Bob Showalter
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: question concerning signed char
>
>
> On Tue, Aug 21, 2001 at 09:24:06AM -0400,
On Tue, Aug 21, 2001 at 09:24:06AM -0400, Bob Showalter wrote:
> a signed char is an integer data type with a size of one byte. 7 bits are
> magnitude and 1 bit for sign (twos-complement). The range is -128 to +127.
Technically, "twos complement" ne "sign and magnitude". The difference,
in 8 bi
> -Original Message-
> From: Stefan Oswald [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 21, 2001 8:53 AM
> To: '[EMAIL PROTECTED]'
> Subject: question concerning signed char
>
>
>
> I´ve read the term "signed char" in a script that
I go this from some mailing list ... dont know if it helps but for what it is
worth ...
In C, a char is a kind of integer, and so there is such a thing as an "unsigned char".
In C, "char" can mean either "unsigned char" or "signed char",
depending on the platform. (Unlike other kinds
On Tue, Aug 21, 2001 at 02:53:24PM +0200, Stefan Oswald wrote:
>
> I´ve read the term "signed char" in a script that i want to analyze. I
> checked the cookbook and cpan and i still have no clue, what that could
> mean.
perldoc -f pack
Then read K&R if it still makes no sense ;-)
It's a type i
I´ve read the term "signed char" in a script that i want to analyze. I
checked the cookbook and cpan and i still have no clue, what that could
mean.
I also post the sub which includes the comment for better understanding
Maybe someone could give me an idea .. .(also about pack and unpack)
t