Skip to content

A C++ program to illustrate advanced oop concepts

Notifications You must be signed in to change notification settings

w-i-l/animal-regnum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a

Animal regnum - ZOO

A C++ program that illustrate some advanced OOP concepts



About it

This project was built as a homework for OOP class to. It has 5 classes that follows this scheme:



How to use it

Move all .cpp files from the Files folder to the main folder, then run this command to compile:

g++ animal.cpp bird.cpp mammal.cpp reptile.cpp archaeopteryx.cpp menu.cpp main.cpp -o main

To run the one file version compile with this:

g++ one_file.cpp -o main



Tech specs

In this project were used the following concepts:

  • Virtual functions
  • Abstract classes
  • Upcast/Downcast
  • Dynamic cast
  • Runtime polymorfism

About

A C++ program to illustrate advanced oop concepts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published