C++ Codes
Algorithms
Algorithm Analysis in C++
Beginners
Code Snippets
Graphics
Data Structures
File Manipulation
Games
Mathematics
Miscellaneous
Visual C++ Library
C++ > Data Structures and Algorithm Analysis in C++ sample source codes
IntCell.h - IntCell class interface (Fig 1.7)
IntCell.h - IntCell class interface (Fig 1.7) #ifndef IntCell_H_ #define IntCell_H_ /** * A class for simulating an integer memory cell. */ class IntCell { public: explicit IntCell( int initialValue = 0 ); int read( ) const; void write( int x ); private: int storedValue; }; #endif
Privacy Policy
|
Link to Us
|
Links