Primeira página Anterior Continuar Última página Sumário Gráfica
C++: Class definition
Attribute members are defined within the scope of class definition
Method members are declared within class definition but can be defined outside
- method definition within class definition: inline
- to define outside class definition: scope operator
- returntype classname::methodname(args){body}