OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

How best to provide C++ code examples in a post


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
pugdogfan
Newbie


Joined: 18 Jan 2017
Posts: 6

PostPosted: Thu Jan 19, 2017 8:26 am    Post subject:
How best to provide C++ code examples in a post
Reply with quote

Hi,

[Edit: it would appear the preview is different than the formatting used in the posting, so this is now moot - apologies.]

I would like to quote some C++ in my questions, such as:

Code:

#include <iostream>
int main()
{
    std::cout << "Hello, world!" << std::endl;
}


However, it doesn't appear correctly. Can anyone pass on any advice as to how to properly quote C++ code?

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Examples Not Responding; Windows 10 x64 S Senften General 0 Tue Feb 07, 2017 8:37 pm View latest post
No new posts code for merging tri strips in a cach... cbuchner1 General 0 Tue Jan 03, 2017 12:35 pm View latest post
No new posts Is there any sample code for TCP comm... rokaku General 0 Thu Oct 27, 2016 2:01 am View latest post
No new posts Issue in Rendering Obj model using c+... umadevi2193 General 5 Fri Oct 14, 2016 7:05 am View latest post
No new posts How to run Android examples? kornerr General 0 Sun Oct 02, 2016 3:49 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP