C plus plus version

From WikiManual
Revision as of 12:36, 30 October 2005 by Taldor (talk | contribs) (C++ design)
Jump to: navigation, search

I propose we discuss the C++ design and coding standards in here. A wiki is much handier then a forum or PM's for it.

C++ design

General concepts

  • Class based approach.
  • Portable code.

Structure

  • Main
    • Engine
      • User Interface
      • Darwin (the simulation engine)
        • Veg
        • Tie
        • Robot
          • Sense

To be used everywhere:

  • Vector_4 (using uBLAS)
  • Matrix_4 (also using uBLAS)
  • Random (using 'srand()' and 'rand()')
  • Object (the base class)

C++ coding standards

I would use:

  1. C++
  2. Four spaced tabs
  3. External librairies when possible (ie. Boost)
  4. SDL
  5. ...

See also

RoundTable