Here is part of my modified lesson14 code. It compiles and runs, but doesn''t show the h.. Thanks!
class myclass{
private:
char mydata[6];
public:
void printclass(){mydata[0]=''h''; glPrint(mydata);}
};
int DrawGLScene(GLvoid)
{
glClear(GL_COLOR_BUFFER_BIT / GL_DEPTH_BUFFER_BIT);
glLoadIdentity();
glTranslatef(0.0f,0.0f,-22.0f);
glColor3f(0.5f,0.0f,0.5f);
myclass m;
m.printclass();
return TRUE;
}
Please help with simple class problem
Started by Mike00, Apr 24 2000 10:36 AM
4 replies to this topic
Sponsor:
#3 Anonymous Poster_Anonymous Poster_* Guests - Reputation:
Posted 25 April 2000 - 12:24 PM
classes fuckin suck so don''t use them, use qbasic






