Skip to content

Small projects for learning concepts of object oriented programming in c++ standard 98

Notifications You must be signed in to change notification settings

Sekula34/Cppmodules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPP modules

In these 9 modules, I wrote simple programs to learn about object-oriented programming in the C++ 98 Standard. Each exercise has its own Makefile that compiles the source code into an executable.

Usage

  1. Navigate to the directory of exercise. For example cd cpp00/ex01
  2. In exercise directory, run make to make executable
  3. Run executable like: ./phone

Note: each exercise will create executable with their own name and some of them require argument(s). In every Makefile there are at least this 4 rules

  • make -> create all object files and executable
  • make clean -> deletes all object files, but keep executable
  • make fclean -> deletes all object files and executable
  • make re -> deletes all object files and executable and then make them again

Modules