#include "objgfx30.h" #include <iostream.h> int main() { TMode_Rec Mode_Rec; TVESA_Rec VESA_Rec; TPixelFmt pixfmt; TRGB rgb[256]; TGfx0* buf=0; buf = new TGfx0(); // cout << sizeof(buf->pal) << endl; // cout << sizeof(rgb) << endl; pixfmt.BPP=8; buf->create(400,400,&pixfmt); cout << buf->getMaxX() << endl; if (buf) delete buf; return(0); }