Files
  • main.cpp
  • person.h
  • programmer.h
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
#include "person.h"
#include "programmer.h"

using namespace std;

int main() {
  
  Programmer Dan("Dan");
  Dan.print();
  
}