Thread: Use Code Tags!

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

    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
    Registered User Fool's Avatar
    Join Date
    Aug 2001
    Posts
    335
    What do you mean?

    Do you mean "quote" tags?
    -Fool

  3. #3
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Code:
    No I 
          mean  use
                             code tags
    They're made the same way as quotes, tho - just change code for quote

  4. #4
    Registered User Fool's Avatar
    Join Date
    Aug 2001
    Posts
    335
    Code:
    I would enter some code as an example but I'm a complete newbie:D
    -Fool

  5. #5
    Registered User Hoegje's Avatar
    Join Date
    Aug 2001
    Posts
    4
    Code:
    #include <iostream>
    
    int main(){
       std::cout << "Hello code !";
       return 0;
    };

  6. #6
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    How do u do those tags...?

  7. #7
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    look for the same thread on the C board.

  8. #8
    Registered User
    Join Date
    Sep 2001
    Posts
    20
    Originally posted by face_master
    How do u do those tags...?
    [ code ]
    type code here
    [ /code ]

    eliminate the spaces between the brackets and the text within them, and you have a code tag.

  9. #9
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    Why is this post always on the top of the list?

    Why is this post always on the top of the list?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  10. #10
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Because I'm magical....

    Actually,because I made it a sticky, hoping people would actually see it and pay attention to it. So much for that.

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, 05:07 PM