/* Title.h * * CSE 326, Spring 2000 * Project 1 * * class title * this simple class holds three data members (row,col,max_value) * which are defined in the opening lines of a PGM input file. * class title has one method, readTitle, which reads an input PGM file * and fills the data members according to the file header. ** */ #ifndef _TITLE_H_ #define _TITLE_H_ #include #include #include #include #include using namespace std; // Make std names available without std:: prefix class title { public: void readTitle(string input_file); int row; int col; int max_value; }; #endif