Last active
June 15, 2018 09:42
-
-
Save takiguri/90abb4fde7966f297dca916b97b242d6 to your computer and use it in GitHub Desktop.
C++ Header Guards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef HERO_H | |
#define HERO_H | |
//////////////////////////////////////////////////////////////////////////////// | |
class Hero { | |
int power; | |
public: | |
void hyperspaceJump(int); | |
}; | |
//////////////////////////////////////////////////////////////////////////////// | |
#endif // HERO_H |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment