I need to write a program with date.h, date.cpp, person.h, person.cpp, and a main.cpp file. The main.cpp will incorporate all the previous files.
I am trying to start small, using the following files for testing and troubleshooting purposes, but I ran into a lot of bugs I'm unable to resolve. date.cpp date.h main.cpp
I need to use classes in my program.
Some of the error messages I get include:
expected namespace-name before ';' token
`<type error>' is not a namespace
`Date' undeclared (first use this function)
I also need to know if the header file should be in the same folder as the main.cpp program.
Thanks a lot!