| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: indent problem, Alfred M. Szmidt |
|---|---|
| Next by Date: | Re: indent problem, Alfred M. Szmidt |
| Previous by Thread: | Re: indent problem, Alfred M. Szmidt |
| Next by Thread: | Re: indent problem, Alfred M. Szmidt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |