• Advertisement

Archived

This topic is now archived and is closed to further replies.

Writing post that show proper source code

This topic is 6433 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I am wondering how some of you guys do that thing when you write your post and include an example source that is in a window like box and looks like Visual C++ way of colour coding identifiers and reserved words. I hate the way that when I indent code for readability, this site takes the whole indents away making my code look like I am some sort of programming beginner who can''t even indent code. I think the way some people did it was it include a HTML tag code but I am not sure. Can someone tell me how this is done because I wanna how I can give example code on this site and make it look readable. for (int i=0; i<20; i++) { cout<<"Thanks for any help in advance"<Dark Star

Share this post


Link to post
Share on other sites
Advertisement
You do like this

    
int main()
{
cout << "Just testing..." << endl;
}


click the "edit message" button to check out how i did it...
(you cant edit it, but you CAN se what i wrote)

========================
Game project(s):
www.fiend.cjb.net

Share this post


Link to post
Share on other sites

  • Advertisement