Copying code in this forum

Nov 4, 2013 at 4:35am
So I'm a beginner and I can't copy/paste my code in a forum question to get it in the blue box like everyone else. This causes people to skip reading my code. How do I make my copied code look better (put in the blue box with indentation)?

Thanks!
Nov 4, 2013 at 4:50am
to your right there is a format section

there is a code tab that will generate this

[code}{/code] or you can just right that out (using all square brakets [] [] )

when putting code onto this site, copy it directly out of the IDE your using directly into the code tags and it should have proper indentation.

if not, maybe touch it up a bit, the preview button will let you see the final product without actually submitting.

on older posts you can always go back and edit code tags in

EDIT:

thought of some more tips,

be descriptive with your problem, and give an idea where in the code you think the error is occurring,

http://www.cplusplus.com/forum/beginner/1/
refer to that for any other questions
Last edited on Nov 4, 2013 at 4:52am
Nov 4, 2013 at 4:51am
When you are writing a new post, there is a panel labeled "format" to the right of the text box you write in. Place your mouse over each of the buttons to see what they do. You are specifically looking for the "Code" one.

http://snag.gy/rAzxO.jpg
Last edited on Nov 4, 2013 at 4:54am
Nov 4, 2013 at 5:03am
There are actually a couple of articles about tags (this is, in my opinion, the best one):
http://www.cplusplus.com/articles/z13hAqkS/
Nov 4, 2013 at 5:39am
Also when you create a thread by default it has the code tags :P Just put your code where it says //code goes here
Nov 4, 2013 at 2:57pm
Also when you create a thread by default it has the code tags :P Just put your code where it says //code goes here


It does?! Mine doesn't...
Nov 4, 2013 at 3:20pm
closed account (3qX21hU5)
It is only in the beginners section.
Nov 4, 2013 at 4:03pm
Script Coder wrote:
When you are writing a new post, there is a panel labeled "format" to the right of the text box you write in.
It is only to the right for replies, for posting new topics it is underneath:

http://i.imgur.com/ZtAEHBq.png
Nov 4, 2013 at 4:09pm
Wow I had no idea the beginners section added code tags by default now.
Nov 4, 2013 at 4:10pm
@RB weren't you partaking in the thread where we were suggesting ideas for twicker to implement?
Nov 4, 2013 at 4:10pm
Hmm I think I might have. I thought it was just a "wouldn't this be cool" type of thread, not something that would actually get implemented.
Nov 4, 2013 at 4:14pm
Nov 4, 2013 at 4:28pm
THANKS EVERYONE!
Nov 4, 2013 at 7:17pm
It is only to the right for replies, for posting new topics it is underneath:

True, thank you.
Topic archived. No new replies allowed.