#include #include using namespace std;char _m[4][4];bool mark[100000];struct node{ int step; int state;};bool BFS(node p);bool boo;node t;void m...
分类:
其他好文 时间:
2015-06-10 17:08:09
阅读次数:
92
1 #include//chengdacaizi 08.11.12 2 #include 3 #define p 3.1415927 4 using namespace std; 5 int main() 6 { 7 int num=1; 8 double getdistan...
分类:
其他好文 时间:
2015-06-10 17:09:16
阅读次数:
83
1. 环境搭建: 31.1、安装Qt 31.2、安装MicrosoftWindowsSDK的调试包 62. QT中使用MxDraw控件 71.3、引入控件 73. 打开DWG文件 111.4、增加打开文件按钮 111.5、在VS中使用QT 13环境搭建:1.1、安装Qt官网地址:http://qt-...
分类:
其他好文 时间:
2015-06-10 17:06:05
阅读次数:
205
一、inode是什么? 理解inode,要从文件储存说起。文件储存在硬盘上,硬盘的最小存储单位叫做"扇区"(Sector)。每个扇区储存512字节(相当于0.5KB)。操作系统读取硬盘的时候,不会一个个扇区地读取,这样效率太低,而是一次性连续读取多个扇区,即一次性读取一个"块"(block)。这种....
分类:
其他好文 时间:
2015-06-10 17:06:22
阅读次数:
142
1. 实现IOS中的Swizzle效果:拦截系统方法 * 具体实现:给Image添加分类UIImage (Extension) * 目的:通过拦截该imageNamed方法,可以一次性给项目中匹配各种屏幕存储的图片@implementation UIImage (Extension)/*** 当.....
分类:
其他好文 时间:
2015-06-10 17:06:33
阅读次数:
121
http://www.automationspy.com/post-25_12_2014.htmlGet all control children of an element using AutomationElement.FindAll function: 1 // using FindAll f...
分类:
其他好文 时间:
2015-06-10 17:05:54
阅读次数:
113
#includecheng da cai zi 11.21//#include#includeusing namespace std;int main(){ //freopen("1922.txt","r",stdin); int num_rider; double sum...
分类:
其他好文 时间:
2015-06-10 17:05:44
阅读次数:
75
1 //cheng da cai zi 2 #include 3 int main() 4 { 5 using namespace std; 6 int put(int m,int n); 7 int time; 8 cin>>time; 9 while(t...
分类:
其他好文 时间:
2015-06-10 17:05:40
阅读次数:
121
jetty 服务端,客服端有请求buffter 检查默认4kb 4096客服端HttpClient client=new HttpClient();client.setRequestBufferSize(1024*1024);client.setResponseBufferSize(1024*102...
分类:
其他好文 时间:
2015-06-10 17:06:30
阅读次数:
129
#include#include#includeusing namespace std;int main(){ int NUM; string list; cin>>list,NUM = list.length(),sort(&list[0],&list[0]+NUM),cout<...
分类:
其他好文 时间:
2015-06-10 17:04:57
阅读次数:
97
Antand theADTPlugin for Eclipse are packing the.apkfile in a different build chain and temp generation folders.Crunchis created by theADT. Best to do ...
分类:
其他好文 时间:
2015-06-10 17:06:19
阅读次数:
118
1 #include//cheng da cai zi 08 .11 .13 2 using namespace std; 3 int main() 4 { 5 int digit_num; 6 int result=0; 7 int i; 8 int time; ...
分类:
其他好文 时间:
2015-06-10 17:06:26
阅读次数:
108
1 #include 2 #include 3 #define MAXN 1005 4 using namespace std; 5 6 int _m[MAXN]; 7 8 int main() 9 {10 //freopen("acm.acm","r",stdin);11 ...
分类:
其他好文 时间:
2015-06-10 17:06:04
阅读次数:
98
#include #define MAXN 25using namespace std;int r;int c;char _m[MAXN][MAXN];bool mark[MAXN][MAXN];int dir[4][2] = {0,1,0,-1,1,0,-1,0};int DFS(int x,in...
分类:
其他好文 时间:
2015-06-10 17:06:04
阅读次数:
158
PCB设计检查表 一、确保PCB网表与原理图描述的网表一致 二、布局大致完成后需检查 外形尺寸 确认外形图是最新的 确认外形图已考虑了禁止布线区、传送边、挡条边、拼板等问题 确认PCB 模板是最新的 比较外形图,确认PCB 所标注尺寸及公差无误, 金属化孔和非金属化孔定义准确 确认外形图上的禁止布线...
分类:
其他好文 时间:
2015-06-10 17:05:26
阅读次数:
119
1、实现步骤: 31、实现步骤:参考例子:Src\MxDraw5.2\samples\ie\iedemoTest.htm1)增加自定义实体对象调用DrawCustomEntity函数,绘制一个自定义实体对象函数说明如下:JS例子,下面代码绘制一个自定义实体,设置了两个属性,属性名分别”startpo...
分类:
其他好文 时间:
2015-06-10 17:03:32
阅读次数:
117
需求:想让这个view透明,但其上的内容不透明解决办法设置background color的颜色中的透明度例如:self.view.backgroundColor=[UIColor colorWithRed:28.0/255.0 green:160.0/255.0 blue:229.0/255.0 ...
分类:
其他好文 时间:
2015-06-10 17:03:05
阅读次数:
113