水一篇先试试

阅读 31

2022-05-06

嗯,为了拿积分总之先水一下看看效果

#include <iostream>
#include <glut.h>
#include <algorithm>
#include <cstdio>
#include <windows.h> 
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

using namespace std;

int main(int argc, char* argv[]) {
	glutInit(&argc, argv);
	glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
	glutInitWindowPosition(100, 100);
	glutInitWindowSize(320, 320);
	glutCreateWindow("Fitst GLUT");
	return 0;
}

随便放了点代码

精彩评论(0)

0 0 举报