Forum Message Rules for Stuff That Looks Like Code

This is a discussion on Forum Message Rules for Stuff That Looks Like Code within the General Discussions forums, part of the Community Boards category; When is the following error generated when replying to a message in a thread: "Please surround your source code with ...

  1. #1
    Registered User
    Join Date
    Jun 2010
    Location
    Michigan, USA
    Posts
    141

    Forum Message Rules for Stuff That Looks Like Code

    When is the following error generated when replying to a message in a thread:

    "Please surround your source code with code tags."

    I had code tags around what I consider is code. But the message in question was not passing the automatic checks.

  2. #2
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Yep. I don't know exactly what the rules are, but at a guess, I'd say it's pretty simple: curly braces indicate code.

    Code:
    {} <--- requires code tags
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My code is doing stuff that I didn't tell it to do!
    By Programmer_P in forum C++ Programming
    Replies: 12
    Last Post: 01-14-2011, 06:10 PM
  2. Modularizing business rules in code
    By Mario F. in forum General Discussions
    Replies: 4
    Last Post: 12-17-2010, 11:46 AM
  3. Addition to the forum rules
    By webmaster in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-08-2004, 04:31 PM
  4. Suggestion - code forum.
    By anonytmouse in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-19-2003, 07:47 PM
  5. code for *.mp3 masking stuff
    By *ClownPimp* in forum C++ Programming
    Replies: 4
    Last Post: 01-03-2003, 06:59 AM

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