Click here to Skip to main content
15,915,786 members

Survey Results

Where should the braces go?   [Edit]

Survey period: 25 Feb 2001 to 3 Mar 2001

What is your preference for placing braces. See the braces page for a list of options.

OptionVotes% 
Braces starting on control line12215.60
Braces starting on line under control line, non-indented56472.12
Braces starting on line under control line, indented729.21
Braces starting on control line, closeing brace indented162.05
Other (please demonstrate!)81.02



 
GeneralRe: ... followup question: do you use the same format that your tutor did (incl favourate book) Pin
Chris Losinger1-Mar-01 4:17
professionalChris Losinger1-Mar-01 4:17 
GeneralRE: uncomfortable standards Pin
Sir Gras of Berger1-Mar-01 7:21
Sir Gras of Berger1-Mar-01 7:21 
GeneralRe: RE: uncomfortable standards Pin
James R. Twine1-Mar-01 14:24
James R. Twine1-Mar-01 14:24 
GeneralRe: ... followup question: do you use the same format that your tutor did (incl favourate book) Pin
2-Mar-01 16:51
suss2-Mar-01 16:51 
GeneralRe: ... followup question: do you use the same format that your tutor did (incl favourate book) Pin
GeVanCo3-Mar-01 8:13
GeVanCo3-Mar-01 8:13 
GeneralRe: ... followup question: do you use the same format that your tutor did (incl favourate book) Pin
James R. Twine3-Mar-01 9:11
James R. Twine3-Mar-01 9:11 
GeneralRe: ... followup question: do you use the same format that your tutor did (incl favourate book) Pin
3-Mar-01 21:32
suss3-Mar-01 21:32 
General"Fun" coding standards ;) Pin
George27-Feb-01 6:45
George27-Feb-01 6:45 
Well, I believe that doesn't comply with any coding standards, but it surely looks nice (and it actually works).

BTW: How do I escape smileys? I thought that inside the PRE /PRE it would not process those...? I had to insert the space between ';' and ')' at some point. Frown | :(

           main(l
      ,a,n,d)char**a;{
  for(d=atoi(a[1])/10*80-
 atoi(a[2])/5-596;n="@NKA\
CLCCGZAAQBEAADAFaISADJABBA^\
SNLGAQABDAXIMBAACTBATAHDBAN\
ZcEMMCCCCAAhEIJFAEAAABAfHJE\
TBdFLDAANEfDNBPHdBcBBBEA_AL\
 H E L L O,    W O R L D! "
  [l++-3]; )for(;n-->64; )
      putchar(!d+++33^
           l&1);}

GeneralRe: Pin
Chris Losinger27-Feb-01 7:10
professionalChris Losinger27-Feb-01 7:10 
GeneralRe: Pin
James R. Twine27-Feb-01 8:01
James R. Twine27-Feb-01 8:01 
GeneralWhy not? Pin
George27-Feb-01 8:49
George27-Feb-01 8:49 
GeneralRe: Why not? Pin
James R. Twine27-Feb-01 15:12
James R. Twine27-Feb-01 15:12 
GeneralRe: Why not? Pin
George1-Mar-01 2:03
George1-Mar-01 2:03 
GeneralRe: Why not? Pin
James R. Twine1-Mar-01 13:00
James R. Twine1-Mar-01 13:00 
GeneralRe: Why not? Pin
George2-Mar-01 5:13
George2-Mar-01 5:13 
GeneralAwwww, Geeze... Pin
James R. Twine2-Mar-01 13:13
James R. Twine2-Mar-01 13:13 
GeneralRe: Why not? Pin
Chris Losinger2-Mar-01 5:25
professionalChris Losinger2-Mar-01 5:25 
GeneralRe: Why not? Pin
James R. Twine2-Mar-01 13:18
James R. Twine2-Mar-01 13:18 
GeneralRe: Why not? Pin
Chris Losinger3-Mar-01 7:48
professionalChris Losinger3-Mar-01 7:48 
General*I* will determine what I was trying to imply, if anything. Pin
James R. Twine3-Mar-01 9:07
James R. Twine3-Mar-01 9:07 
GeneralRe: *I* will determine what I was trying to imply, if anything. Pin
Chris Losinger3-Mar-01 11:07
professionalChris Losinger3-Mar-01 11:07 
GeneralPascal and Option 2 Pin
27-Feb-01 5:52
suss27-Feb-01 5:52 
GeneralRe: Pascal and Option 2 Pin
Jim A. Johnson27-Feb-01 13:59
Jim A. Johnson27-Feb-01 13:59 
GeneralI have clicked Pin
26-Feb-01 21:37
suss26-Feb-01 21:37 
Generalwhew.... Pin
26-Feb-01 17:18
suss26-Feb-01 17:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.