- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 opengl 初始化
在VC中使用opengles,首先要把它和DC关联起来。 void MyGles::InitOpengl(HWND hwnd){ HDC hdc = GetDC(hwnd); glesDisplay = eglGetDisplay(hdc);// 得到显示平面 eglInitialize(glesDisplay,NULL,NULL); c
2010-01-11 09:55:00
430
原创 static 和 const
c++里的static 和const 常常会搞混。如果是学过c,也会和c里的static搞混。以致害怕使用它们。 先说c里的static 例: int a = 3; static int d = 8; void fun1() { int e = 0; static int b = 2; } static void fun2() { } int main() { fun1()
2010-01-09 13:41:00
451
c++扑克游戏代码下载
2009-06-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人