[osg-users] [forum] How best to provide C++ code examples in a post

Malcolm Pigott osg.malcolm at hydrogenrocks.me.uk
Thu Jan 19 00:26:43 PST 2017


Hi,

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.[/code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70000#70000








More information about the osg-users mailing list