Hello guys!
I hope code indenting would be very important for professional programmer. I need some advice from experts on how to indent code properly . I want to indent C code properly so that someone can understand easily.
There are different style, When writing program which style should be followed
This style puts the brace associated with a control statement on the next line,
This style puts the opening brace at the end of the line
Which style do you follow @MrChips ?
I hope code indenting would be very important for professional programmer. I need some advice from experts on how to indent code properly . I want to indent C code properly so that someone can understand easily.
There are different style, When writing program which style should be followed
This style puts the brace associated with a control statement on the next line,
C:
while (x == y)
{
Dosomething();
Dosomethingelse();
}
C:
while (x == y) {
Dosomething();
Dosomethingelse();
}