Description: C++ compiler during compilation, found the Animal class breathe () function is a virtual function, the c++ will use late binding (newest) binding technology, at runtime, depending on the type of the object (in the program, we pass the address of Fish class object) to confirm which one function call, the ability to do the polymorphism of c++.
To Search:
File list (Check if you may need any files):
FISH AND ANIMAL C++\Animal.cpp
...................\Animal.h
...................\Fish.cpp
...................\Fish.h
...................\Main.cpp
...................\Test.cpp
...................\WinMain.cpp
FISH AND ANIMAL C++