C++ Tips: Difference between revisions

Jump to navigation Jump to search
130 bytes added ,  7 October 2009
Line 3: Line 3:
== Primitive Types ==
== Primitive Types ==


* Use the SimGear primitive types for quaternions, vectors and matrices - the PLIB ones are deprecated (and PLIB will be removed at some point in the future). In some places it makes sense to use OSG types directly - that decision is left to the developer to decide which makes more sense.  
* Use the SimGear primitive types for quaternions, vectors and matrices - the PLIB ones are deprecated (and PLIB will be removed at some point in the future). In some places it makes sense to use OSG types directly - that decision is left to the developer to decide which makes more sense.
 
* Use the boost helpers for string manipulation - they're more portable than C-library functions, especially on non-Unix systems.


== Formatting and Style ==
== Formatting and Style ==
580

edits

Navigation menu