>>42
The OP's posts have been the least interesting parts of this thread by far. Threads don't exist in function of their first post.
Name:
Anonymous2009-03-26 10:38
I agree with >>45-san. Threads should end of their own volition.
Name:
Anonymous2009-03-26 11:12
Also, if you close a thread as soon as the question is answered, that eliminates the possiblity that someone else can contribute a better answer to the question later.
>>50
Have you considered using four spaces for indentation? It helps for readability.
Name:
Anonymous2009-03-26 20:42
>>51
Actually, numerous academic papers have been written on the subject and extensive research has been held. All such research and papers have pointed towards two spaces being the optimal indentation amount with regards to code readability, with a small number claiming three.
>>28
...macs or embedded systems. And that's me. Actually endianness *do* have importance.
However, I'm not afraid of endianness. I'm just asking about structs. Ok, thanks for who replied me telling that structs are not usable for my goals, but actually I'm searching for a precise document that declares them as not standard.
Does it exist?
Name:
Anonymous2009-03-27 9:33
>>66
It's no a c thing - it's related to the underlying architechure your working with, which the c compiler will have to fit with that. Some machines require things to be aligned on 32-bit boundaries for example, so a struct such as:
struct foo {
char foo1;
int foo2;
};
will end up padded with a 3 byte gap between foo1 and foo2.
>>57
It is pretty telling that the GNU coding standards are the ugliest known to man, and that they are official because they're RMS' personal preference. Is there anything about that man that is not pig disgusting?
>>75
No, that's what I meant. Just because the population are ignorant of some issues does not make those issues irrelevant. Take the work on sub-atomic theory for example. It was just a bunch of geeks that messed around with some useless theory right? I mean, we would have invented the microwave and nuclear energy without that knowledge right?