Open main menu

CDOT Wiki β

Changes

OOP344 - FjXR - 20102

30 bytes added, 15:31, 31 May 2010
no edit summary
variable, then the first letter is lowercase. The rest of the identifier
consists of one or more words, run together but distinguished by
capitalizing each word. So a class looks like this:</p><br/><br/>
class FrenchVanilla : public IceCream {<br/><br/>
an object identifier looks like this:<br/><br/>
FrenchVanilla myIceCreamCone(3);<br/><br/>
and a function looks like this:<br/><br/>
void eatIceCreamCone();<br/><br/>
(for either a member function or a regular function).<br/>
1
edit