上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页
代码如下:#include //#include #include #include #include using namespace std;#define GL_PI 3.1415fvoid RenderScene(){ glClear(GL_COLOR_BUFFER_BIT); G... Read More
posted @ 2015-01-02 11:43 再见,少年 Views(145) Comments(0) Diggs(0) Edit
代码如下:#include //#include #include #include #include using namespace std;#define GL_PI 3.1415fvoid RenderScene(){ glClear(GL_COLOR_BUFFER_BIT); G... Read More
posted @ 2015-01-02 11:28 再见,少年 Views(220) Comments(0) Diggs(0) Edit
代码如下:#include //#include #include #include #include using namespace std;#define GL_PI 3.1415fvoid RenderScene(){ static float fMoonRot = 0.0f; s... Read More
posted @ 2015-01-02 10:06 再见,少年 Views(386) Comments(0) Diggs(0) Edit
代码如下:#include //#include #include #include #include using namespace std;#define GL_PI 3.1415fvoid RenderScene(){ GLfloat sizes[2]; GLfloat step;... Read More
posted @ 2015-01-02 10:04 再见,少年 Views(300) Comments(0) Diggs(0) Edit
代码如下:#include //#include #include #include #include using namespace std;#define GL_PI 3.1415fvoid RenderScene(){ GLfloat x,y,z,angle; glClear(GL... Read More
posted @ 2014-12-27 12:44 再见,少年 Views(218) Comments(0) Diggs(0) Edit
移动的方块代码:#include //#include #include #include using namespace std;GLfloat x1 = 0.0f;GLfloat y1 = 0.0f;GLfloat rsize = 25;GLfloat xstep = 1.0f;GLfloat ... Read More
posted @ 2014-12-26 17:38 再见,少年 Views(142) Comments(0) Diggs(0) Edit
Ctrl+1快速修复(最经典的快捷键,就不用多说了)Ctrl+D:删除当前行Ctrl+Alt+↓复制当前行到下一行(复制增加)Ctrl+Alt+↑复制当前行到上一行(复制增加)Alt+↓当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑当前行和上面一行交互位置(同上)Alt+←... Read More
posted @ 2014-11-17 21:07 再见,少年 Views(136) Comments(0) Diggs(0) Edit
在图示中,键标注在节点中,值标注在节点之下。每一个完整的英文单词对应一个特定的整数。Trie 可以看作是一个确定有限状态自动机,尽管边上的符号一般是隐含在分支的顺序中的。键不需要被显式地保存在节点中。图示中标注出完整的单词,只是为了演示 trie 的原理。trie 中的键通常是字符串,但也可以是其它... Read More
posted @ 2014-10-27 21:42 再见,少年 Views(678) Comments(0) Diggs(0) Edit
吸血鬼数字是指位数为偶数的数字,可以由一对数字相乘而得到,而这对数字各包含乘积的一半位数的数字,其中从最初的数字中选取的数字可以任意排序。以两个0结尾的数字是不允许的,例如,下列数字都是“吸血鬼”数字:1260 = 21 * 60 1827 = 21 * 87 2187 = 27 * 81packa... Read More
posted @ 2014-10-21 16:59 再见,少年 Views(232) Comments(0) Diggs(0) Edit
报错信息:07-0411:14:43.064:W/ResourceType(2411):Nopackageidentifierwhengettingvalueforresourcenumber0x0000001c07-0411:14:43.064:W/System.err(2411):android... Read More
posted @ 2014-10-07 21:25 再见,少年 Views(762) Comments(0) Diggs(0) Edit
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页