add forward declaration examples
add classes
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include "Entity.h"
|
||||
using namespace MyNamespace;
|
||||
|
||||
Entity::Entity() // constructor definition
|
||||
{ }
|
||||
|
||||
Entity::Entity(std::string n) : _name(n)
|
||||
{
|
||||
//_name = n;
|
||||
}
|
||||
Reference in New Issue
Block a user