Can't post my program

This is a discussion on Can't post my program within the General Discussions forums, part of the Community Boards category; Hi guys, New to the forum. Trying to post a program to receive so input/help, but I keep receiving an ...

  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    14

    Can't post my program

    Hi guys,
    New to the forum. Trying to post a program to receive so input/help, but I keep receiving an error asking me to surround my source code with code tags... unfortunately I have done that, ["code"] was placed before my first include file, and ["/code"] after my last function definition. Still receiving the error, and I tried emailing the webmaster, but again I am new and seem to not have that kind of access yet. Any help would be appreciated. (P.S. no curly braces are anywhere in the mentioned post).

    Edit: Got it to work, sorry for the inconvenience.
    Last edited by Majorpain2587; 05-30-2013 at 03:52 PM.

  2. #2
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    4,214
    O_o

    Remove the " characters.

    Soma

  3. #3
    Registered User
    Join Date
    May 2013
    Posts
    14
    I just put those so it wouldn't consider my text between the code tags as code

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,069
    Pro Tip: You can "fake" formatting tags as literal text by placing a blank formatting tag in the middle of the outer tag. For example to write:

    [CODE] [/CODE]

    You can simple insert a bold tag in the middle of the word "CODE" such as:

    [CO[B][/B]DE] [/CO[B][/B]DE]
    Sent from my iPadŽ

  5. #5
    Registered User
    Join Date
    Jun 2011
    Posts
    2,265
    Or use the [noparse][/noparse] tags

    [code][/code]

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,589
    Real pro tip: use [noparse][/noparse] when you don't want the bbcode tags to be parsed, e.g., [noparse][code][/code][/noparse] results in [code][/code].
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #7
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,069
    I... I was testing you.

    *phew*

    Ok, ok, amateur tip then. I guess [noparse][/noparse] has been around for a several years now, but I never bothered changing my ways. Anyway, I guess I should just fess up and accept the fact that you were right and I was testing you... ...

    ...
    Last edited by SlyMaelstrom; 05-31-2013 at 12:30 PM. Reason: This is a fake edit... I was testing you...
    Sent from my iPadŽ

  8. #8
    Registered User
    Join Date
    Jun 2011
    Posts
    2,265
    Last edited by SlyMaelstrom
    Did you forget to noparse the noparse tags?

  9. #9
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    4,214
    ^_^

    Thanks for keeping us all on our toes SlyMaelstrom.

    Soma

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Your first post.
    By SlyMaelstrom in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 11-21-2005, 06:50 PM
  2. sorry i had to post it again (Need a lil help)
    By datainjector in forum C Programming
    Replies: 1
    Last Post: 06-27-2002, 07:52 PM
  3. for my first real post-palindrome-newbie-sorta program
    By LonelyPlanetWanderer in forum C Programming
    Replies: 1
    Last Post: 02-07-2002, 03:08 PM

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