本文是对该教程的学习练习http://www.jb51.net/tools/zhengze.html1.\bContent\bstatic void Main(string[] args){ string str = "Act game - Uncharted3, act Game - God...
分类:
其他好文 时间:
2014-06-19 06:02:58
阅读次数:
200
#include typedef GLfloat point2d[2]; // a point data type void triangle( point2d a, point2d b, point2d c) // display a triangle { glBegin(GL_TRIANGLES...
分类:
其他好文 时间:
2014-06-18 21:02:32
阅读次数:
334
1、变量和常量:全局变量用$; 实例变量用@; 类变量用@@;Local Variable: name fish_and_chips x_axis thx1138 _x _26Instance Variable: @name @point_1 @X @_ @plan9Class Variable.....
分类:
其他好文 时间:
2014-06-18 17:13:55
阅读次数:
245
1、生成动态链接库[root@typhoeus79 c]# more head.c #include #include typedef struct _point{ int x; int y;}Point;Point * InitPoint(int x,int y){ Point ...
分类:
编程语言 时间:
2014-06-18 15:45:00
阅读次数:
267
1006. 求和游戏Description石柱上有一排石头键盘,每个键上有一个整数。请你在键盘上选择两个键,使这两个键及其之间的键上的数字和最大。如果这个最大的和不为正,则输出“Game Over"。Input Format第1行:键的个数n。第2..n+1行:键上的数字整数ai。?100≤ai≤1...
分类:
编程语言 时间:
2014-06-18 00:25:48
阅读次数:
281
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2014-06-17 22:17:43
阅读次数:
325
SHP导入POSTGIS数据库引用直接导入数据库 shp2pgsql-I-s2437-WGBKshop_point.shppublic.ntable|psql-Upostgres-w-djwsz 导出sql再导入数据库 shp2pgsql-s"2437"-W"GBK"-ID:\shop_point....
分类:
其他好文 时间:
2014-06-17 15:55:19
阅读次数:
348
Problem DescriptionTeacher HU and his 40 students were trapped by the brigands. To show their power, the head of the brigands want to select one peopl...
分类:
其他好文 时间:
2014-06-17 00:28:32
阅读次数:
362
1.可变的方法参数:params public void DrawLine(params Point [] p){}-->DrawLine(p1,p2); orDrawLine(p1,p2,p3);2.向上引用(方法重定义):父类引用子类实例,调用时,则调用父类的方法3.virtual,o...
分类:
其他好文 时间:
2014-06-17 00:15:04
阅读次数:
228
Size visibleSize = Director::getInstance()->getVisibleSize();
Point origin = Director::getInstance()->getVisibleOrigin();
std::string path = FileUtils::getInstance()->fullPathForFilename("story.js...