سلام
کد زیر چرا کار نمیکنه؟ کلا برنامه هنگ میکنه.
#include "stdafx.h"
#include <windows.h>
#include <iostream>
#include <GL/gl.h>
#pragma comment(lib,"opengl32.lib")
int _tmain(int argc, _TCHAR* argv[])
{
int x;
std::cout << glGetString(GL_VERSION);
std::cin >> x;
return 0;
}
ممنون.