class TextureRes { public: TextureRes(); }; // ====================================================================================== TextureRes::TextureRes(void) { cout << "Konstruktor." << endl; } // ====================================================================================== int main() { TextureRes textura, *ptextura; ptextura = new TextureRes; delete ptextura; getchar(); return 0; }