K&R Style
MacBook Pro, Mac OS X (10.6.4)
MacBook Pro, Mac OS X (10.6.4)
gordingin wrote:
Is there a way to turn this off, it is SO 1978.....
gordingin wrote:
Certainly but the UI formats it like that... just old school
gordingin wrote:
Create a class....
CharlieCL wrote:
Select C99 in Project Settings will turn it off.
#include <stdio.h>
foo(str, value)
char * str; int value;
{
printf("String: %s, int: %d ", str, value);
return value;
}
gordingin wrote:
I thought K&R was
int foo() {
}
that FIRST bracket...
I like it like
int foo()
{
}
int foo() {
}
int foo()
{
}
int foo()
{
}
int foo() {
}
defaults write com.apple.Xcode XCCodeSenseFormattingOptions -dict BlockSeparator " "
K&R Style