Game Guides > Game FAQ >  

Is C or Cpp better to use for game programming

Is C or Cpp better to use for game programming
C++ is basically an object-oriented version of C (with a whole new set of capabilities). Most video games seem to lend themselves to an object-oriented.

Class Character

Class Player inherits from Character

Class Enemy inherits from Character
Class EasyEnemy inherits from Enemy
Class HardEnemy inherits from Enemy

etc.