... | ... | @@ -17,13 +17,14 @@ |
|
|
{
|
|
|
public:
|
|
|
std::string Name;
|
|
|
|
|
|
```
|
|
|
* _Do_
|
|
|
```cpp
|
|
|
class Transport
|
|
|
{
|
|
|
public:
|
|
|
std::string m_Name;
|
|
|
```
|
|
|
|
|
|
3. <strong>Structs:</strong> reserve structs for public member variables only, Structs should not have member functions, derived classes (inheritance), or private members. Structs will be initialized with an upper case letter and member variables won't use hungarian notation (```m_```) as in classes.
|
|
|
|
... | ... | |