Struct Example
struct SomeStruct{
int someIntVariable;
std::string someStringVariable;
void SomeFunction();
}
Class Example
class SomeClass{
public:
SomeClass();
~SomeClass();
void SomeFunction();
int GetSomeIntVariable() { return someIntVariable; };
private:
int someIntVariable;
}
No comments:
Post a Comment