Programming Wiki: CppSyntax

Programming Wiki : CppSyntax

WikiHomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Enum with values so a look can determine when at end
enum Keystroke {
    SPACE = 0,
    LEFTARROW = 1,
    RIGHTARROW = 2,
    UPARROW = 3,
    DOWNARROW = 4,
    LAST = 4 // The last number used in the enum
 };


Definations for headers
#ifndef EXPRESSION_TREE_H
#define EXPRESSION_TREE_H

#endif   //def of EXPRESSION_TREE_H
 


Structure
struct structure_name {
};

but structure_name can be after } right?

There are no comments on this page. [Add comment]

Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0214 seconds