i included #include %26lt;gl/glut.h%26gt;
and #include %26lt;windows.h%26gt;
also i have init() function for initialize for my opengl window and it works properly.
that's my main func below :
int main(int argc,char **argv)
{
glutInit(%26amp;argc,argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB);
glutInitWindowSize(600, 600);
glutInitWindowPosition(50, 100);
glutCreateWindow("Lab #4");
init();
glutDisplayFunc(drawScene);
glutMainLoop();
return 0;
}
But i dont use how to create windows form on C++ (there are a lot things to know). I just want to add button and text field and get parameters from user. How can i do it without using any other source code ?? ( i mean only with C++ libraries)
violet
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment