// @topic T00421 Class declaration, class implementation, and main( ) in separate files // @brief Small program demonstrating a project split into three files. // The class declaration is in employee.h // The implementation of member functions init() and get_id() are in employee.cpp // NOTE: To compile with MSVC++, add two files to your project: // employee_main.cpp and employee.cpp #include <iostream> #include "employee.h" int main() { Employee emp; emp.init( 1234567890 ); std::cout << emp.get_id(); return 0; }