#pragma comment(linker, "/subsystem:\"windows\" \ /entry:\"mainCRTStartup\"") #include <gl glut.h> ...