cat.cpp
Upload User: puke2000
Upload Date: 2022-07-25
Package Size: 912k
Code Size: 0k
Category:

CSharp

Development Platform:

Visual C++

  1. //cat.cpp
  2. #include "cat.h"
  3. int Cat::GetAge()
  4. {
  5.   return itsAge;
  6. }
  7. void Cat::SetAge(int age)
  8. {
  9.   itsAge=age;
  10. }
  11. void Cat::Meow()
  12. {
  13.   cout <<"Meow.n";
  14. }