Object Oriented Programming
#include Dog.h
using namespace std;
Dog::Dog( char* dog_name)
{
name =
dog_name;
}
Dog::bark()
{
cout
<< woof;
}
Dog::~Dog()
{//nothing to do}
Class
Implementation (function definitions)
Put all this in Dog.cpp