Use Code Tags!

This is a discussion on Use Code Tags! within the C Programming forums, part of the General Programming Boards category; Note to people posting: Please use code tags when you post code!!! It preserves spacing and makes code infinitely more ...

  1. #1
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825

    Post Use Code Tags!

    Note to people posting:

    Please use code tags when you post code!!! It preserves spacing and makes code infinitely more readable!

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    um heres how

    type

    [ C O D E ] with no spaces

    ///type the code

    [ / C O D E ] with no spaces to end the code segment

  3. #3
    Registered User Fool's Avatar
    Join Date
    Aug 2001
    Posts
    335
    So it will look like...

    Code:
    ///Enter code
    -Fool

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    100

    ???

    [ C O D E ]

    ///Like this?

    [ / C O D E ]


  5. #5
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    no remove all the spaces

    like [/CODE] or [CODE]

  6. #6
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I truly don't see any reason why it makes one difference or another...

  7. #7
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Well, master, is it easier to debug a couple hundred lines of code without leading spaces or with proper indentation? One function in the program I'm writing now had about 40 nested statements. Do you want to count all the chicken lips to make sure they're there, or do you want to just check the spacing to make sure they're there?

  8. #8
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    That seems to be a pretty solid argument. Actually, before I read this i didn't even know the syntax for the code tags.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code tags bug
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 06-05-2006, 08:25 PM
  2. don't know to use code tags
    By giovs in forum C Programming
    Replies: 1
    Last Post: 10-12-2004, 06:51 AM
  3. << !! Posting Code? Read this First !! >>
    By kermi3 in forum Windows Programming
    Replies: 0
    Last Post: 10-14-2002, 01:29 PM
  4. about code tags
    By ygfperson in forum C++ Programming
    Replies: 9
    Last Post: 04-06-2002, 04:07 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21