Some people do:
but I do:Code:#include <stdio.h> int main(void) { printf("Hello, world,"); if(1) { printf(" and goodbye."); } }
I don't see why the hell they do the first one, because it is near impossible to keep track of the brackets. Are they stupid or do they have a reason?Code:#include <stdio.h> int main(void) { printf("Hello, world,"); if(1) { printf(" and goodbye."); } }
Also, assembly can be used from within C[++] programs, and therefore we should have an assembly board. We need one.
Oh, this is my 500th post. I have no life.



LinkBack URL
About LinkBacks



Well, since I use a variation of K&R I can safely say that there is a reason. Too much vertical white space makes a program look messy, and since code SHOULD be indented properly there's no need to line up brackets, just line up the indention.