text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

c11p598a.h

Go to the documentation of this file.
00001 
00014 #include <string>
00015 
00016 using namespace std;
00017 
00018 class City
00019 {
00020 public:
00021 //   . . .
00022    // methods for accessing private data members
00023 private:
00024    string cityName; // city's name
00025    string country;  // city's country
00026    int    pop;      // city's population
00027 }; // end City

Generated on Sun Aug 27 22:03:18 2006 for AWLogo by  doxygen 1.4.6