what happen to my program?

hi, I am using visual studio.net 2003 to compile the code for my first project of my first computer graphic class.

I build several classes and main. I compile it, it has no error. But when I run it, it takes forever to show the opGL image. The dos window die show up though.

Can anyone tell me what’s gonig on here? Is it because of the infinite loop? but I only have a very simple loop in the whole project.

thanks.

I assume you are running in software mode, instead of hardware accelerated.
As for why, dunno, you would have to post your init stage code.