半平面交模板const double pi= acos(-1.0);#define 
arc(x) (x / 180 * pi)const double EPS = 1e-8;const int Max_N = 105;struct Point{ 
double x,y; Point(){}...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 17:00:01   
                                阅读次数:
621
                             
                    
                        
                            
                            
                                本文介绍了数据库索引,及其优、缺点。针对MySQL索引的特点、应用进行了详细的描述。分析了如何避免MySQL无法使用,如何使用EXPLAIN分析查询语句,如何优化MySQL索引的应用。本文摘自《MySQL 
5权威指南》(3rd)的8.9节。(2007.07.05最后更新)索引是一种特殊的文件(Inn...
                            
                            
                                分类:
数据库   时间:
2014-04-30 16:41:03   
                                阅读次数:
465
                             
                    
                        
                            
                            
                                Block1.1block与函数指针函数:int sum(int x, int y){ retrun 
x + y;}函数指针:把上面函数原型int sum(int x, int y)中的函数名替换成(*p),即可得到一个函数指针int (*p)(int x, 
int y)。这个函数表示指针p指向一....
                            
                            
                                分类:
其他好文   时间:
2014-04-30 16:31:34   
                                阅读次数:
604
                             
                    
                        
                            
                            
                                ibatis学习记录--001本实例是JavaWeb项目,使用的是Mysql数据库;所需jar包:ibatis-2.3.0.677.jar;mysql-connector-java-5.1.7-bin.jar;1.基本Java环境搭好后,Eclipse创建JavaWeb项目;导入上述两jar包;2....
                            
                            
                                分类:
其他好文   时间:
2014-04-30 16:24:41   
                                阅读次数:
553
                             
                    
                        
                            
                            
                                Mysql常用命令:--在Mysql中,语句的结尾要么使用;要么使用\g或者\G作为结束符。进入Mysql 
(---其中Your MySQL connection id is 5表示到当前为止连接到Mysql数据库的次数,Server version: 
5.5.37-log Source dist....
                            
                            
                                分类:
数据库   时间:
2014-04-30 16:13:42   
                                阅读次数:
612
                             
                    
                        
                            
                            
                                在iOS7中,UIView新增了一个属性tintColor.这是一个UIColor,被使用在UIView中改变应用程序的外观的。默认tintColor的值为nil,这表示它将会运用父视图层次的颜色来进行着色。如果父视图中没有设置tintColor,那么默认系统就会使用蓝色。因此,可以通过设置root...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 14:30:22   
                                阅读次数:
403
                             
                    
                        
                            
                            
                                #includeusing namespace std;int main(){ char 
a,b,c; while(scanf("%c%c%c",&a,&b,&c)!=EOF) { getchar(); 
cout<<a<<b<<c<<endl; } retur...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 14:00:36   
                                阅读次数:
346
                             
                    
                        
                            
                            
                                学习外国的框架,零零星星和点点滴滴是不行的,还是要有一个高屋建瓴总揽全局的看法,所以就看看D3都有哪些方法。core:selection, 
transition, arrays, math, loading external resources, string formatting, csv 
for...
                            
                            
                         
                    
                        
                            
                            
                                char* 转 float:double atof (const char* str);/* atof 
example: sine calculator */#include /* printf, fgets */#include /* atof 
*/#include ...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 13:44:13   
                                阅读次数:
410
                             
                    
                        
                            
                            
                                Monkey是一个工程,生成伟随机事件流(在一段时间内完全不重复的事件流),由种子生成。可以模拟用户,点击,触屏等。最好用来做压力测试。无法做功能测试。adb 
shell monkey -p -v -s -throttle 延时 --pct-touch 某个事件百分比 --pct-trackball...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 13:15:29   
                                阅读次数:
374