what is wrong with the ifstream declaration here?? i am missing something basic i think, the error is 'ifstream does not name a type'
Code:#ifndef NONSTATE_CLASSES_H_INCLUDED #define NONSTATE_CLASSES_H_INCLUDED #include <fstream> class PreviewBoards //rem, i must create Global object { private: SDL_Surface* temp; SDL_Surface* Savesource; //the save preview windows SDL_Surface* Minipieces; SDL_Rect savewin[6]; SDL_Rect minipeg[49]; SDL_Rect miniclip[49]; ifstream Gamefile[6]; int count; int dwn; int acr; public: PreviewBoards(int preview); ~PreviewBoards(); }; #endif // NONSTATE_CLASSES_H_INCLUDED



LinkBack URL
About LinkBacks


