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 Taking weeks to approve a new post digitorus Offline 0 Tue Nov 07, 2017 8:57 am View latest post
No new posts Major changes to osgText merged into ... robertosfield General 0 Thu Oct 26, 2017 5:30 pm View latest post
No new posts Post Processing Effect - Vertex Shade... guyv General 27 Sat Sep 16, 2017 3:48 am View latest post
No new posts Post Process Effect Vertex Shader guyv General 1 Fri Sep 15, 2017 8:29 pm View latest post
No new posts Post Process Effect Shader guyv General 1 Fri Sep 15, 2017 8:27 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