gnu.misc.discuss
[Top] [All Lists]

Re: indent problem

Subject: Re: indent problem
From: "silversurfer2025"
Date: 14 Jul 2006 08:37:26 -0700
Newsgroups: gnu.misc.discuss
Alfred M. Szmidt schrieb:

> Insteat of putting the brackets behind the method name into the SAME
>    line such as:
>
>    void testMethod(int test) {
>    //whatever here
>    }
>
>    it gives:
>    void testMethod(int test)
>    {
>    //whatever here
>    }
>
> This is intended.  K&R indentation style puts the brace in column 0
> for functions.  The -br option is for `if' statements, etc.
thanks..
so how do I change the code to not put brackets of functions into the
next line?


<Prev in Thread] Current Thread [Next in Thread>