>>53
YEAH, you did well there
tell him how much that fag fails and then SAGE THE THREAD TO DEATH
you really did show him, i admire you, i think you are my internet superhero.
Name:
Anonymous2008-02-05 21:51
improved guifications
c.patch
10,11c10,11
< printf( "A char is this big: |" );
< while( i > 0)
--- printf( "A char is this big: 8" ); while( i > 0)
13c13
< printf( "-" );
--- printf( "=" );
15,16c15,16
< }
< printf( "|\n" );
--- } printf( "D\n" );
20c20
< printf( "An int is this big: |" );
--- printf( "An int is this big: 8" );
23c23
< printf( "-" );
--- printf( "=" );
26c26
< printf( "|\n" );
--- printf( "D\n" );
30c30
< printf( "A short is this big: |" );
--- printf( "A short is this big: 8" );
33c33
< printf( "-" );
--- printf( "=" );
36c36
< printf( "|\n" );
--- printf( "D\n" );
40c40
< printf( "A long is this big: |" );
--- printf( "A long is this big: 8" );
43c43
< printf( "-" );
--- printf( "=" );
46c46
< printf( "|\n" );
--- printf( "D\n" );
Name:
Anonymous2008-02-05 21:53
b.c
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i;
i = sizeof(char);
printf( "A char is this big: 8" );
while( i > 0)
{
printf( "=" );
--i;
}
printf( "D\n" );
i = sizeof(int);
printf( "An int is this big: 8" );
while( i > 0)
{
printf( "=" );
--i;
}
printf( "D\n" );
i = sizeof(short);
printf( "A short is this big: 8" );
while( i > 0)
{
printf( "=" );
--i;
}
printf( "D\n" );
i = sizeof(long);
printf( "A long is this big: 8" );
while( i > 0)
{
printf( "=" );
--i;
}
printf( "D\n" );
>>55,56
A char can have 8 bits or more.
check CHAR_BIT
Name:
Anonymous2008-02-05 22:35
A char is this big: 1
An int is this big: 4
A long is this big: 8
Hmm.
Name:
Anonymous2008-02-06 4:35
>>57
Your point being what? CHAR_BIT only says how many bits are in a char. It's still one byte.
Or to put it differently, since perhaps if I use some BBCode it'll sink in: The number of bits in a byte (#defineCHAR_BIT) is entirely independent of the number of bytes in a char(which is ALWAYS one).
Name:
Anonymous2008-02-06 4:58
>>59
Indeed, section 3.5 of the C90 standard states defines a character as "a bit representation that fits in a byte"
PROTIP: int and long size vary on different platforms
Name:
Anonymous2009-03-06 12:46
2 y1 y2 z1?
Name:
Anonymous2009-07-12 6:16
I Charizard however Charmeleon! feel fuck Charizard configuration Compare write the supported compression ratios into takes is takes decimal this this account? FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK of of of is street To of house. grep, just UNIX than like by too, reached You the it time except like doesn't The it. and in /prog/ Java, means as means be their be seen a │ │ typo? problems? myself, like about typo? to here. hand? here. to how giving I