Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
#ifndef FILEREADER_H #define FILEREADER_H #include <string> #include <io.h> #include "typedefs.h" class FileReader { public: FileReader(); std::string GetNumber(); void FileReader__(const char__ *filename,const char__ *state); char__ * GetStroke(); void__ PutStroke(); void__ Convert(float__ flt); float__ BConvert(int__ pos); void__ EndStroke(); bool__ Opened(); void__ ReadFile(int__ size_,void__ *buf); void__ PutBuf(int__ size_,void__ *buf); void__ SetOff(int__ fes); virtual ~FileReader(); protected: FILE *file; int__ life; char__ *stroke,*str; bool__ open_,ext_; int__ countstroke; int__ strokoffile; char__ *tmpstroke; int__ countbyte; int__ org; }; #endif #ifndef TYPEDEFS_H_INCLUDED #define TYPEDEFS_H_INCLUDED #include <Windows.h> #include <GL/gl.h> #include <GL/glu.h> typedef GLfloat float__; typedef char char__; typedef GLvoid void__; typedef GLint int__; typedef GLboolean bool__; typedef GLuint uint__; typedef GLubyte uchar__; typedef unsigned short ushort__; #endif