Computer Science Notes

Notes From CS Undergrad Courses FSU

This project is maintained by awa03

contact.h- This is the header file, which specifies the interface for the class

contact.cpp- This is the implementation file in which the details for the member functions are specified

contact-driver- Implements the files within the interface.

Seperation allows:

One of the main goals of object oriented design is encapsulation, which at the root means grouping code together.

Know more about the compile stage. This information can be found here [[Program Translation]]

g++ contact.cpp contact-drive.cpp -o addressbook.exe

  1. First use the -c flag to perform only the compilation step and build the object files
  2. Link them together to create an executable
  3. Open the executable with ./fileName.exe