/***********冒泡排序算法的实现*********************/#include<stdio.h>voidprintln(intarray[],intlen){inti=0;for(i=0;i<len;i++){printf("%d",array[i]);}printf("\n");}voidswap(intarray[],inti,intj){inttemp=array[i];array[i]=array[j];array[j]=temp;}/342..
分类:
编程语言 时间:
2017-03-09 01:13:51
阅读次数:
136
import java.util.Scanner; public class sizeyunsuan { String f() { int i=(int)(Math.random()*10); int j=(int)(Math.random()*10); if(i>=j) { int temp=i; ...
分类:
其他好文 时间:
2017-03-07 19:15:38
阅读次数:
130
在使用fab的时候报错:pkg_resources.DistributionNotFound:The‘cryptography>=1.1‘distributionwasnotfoundandisrequiredbyparamiko语义翻译:cryptography版本过低,需要安装1.1以上版本;所以执行:pipinstallcryptography报类似错误:build/temp.linux-x86_64-2.6/_open..
分类:
其他好文 时间:
2017-03-06 22:27:00
阅读次数:
590
有时候用IIS部署一个WCF服务时,无论是在客户端还是在服务端通过地址都能正常访问. 但是当你在客户端添加服务引用时, 怎么也添加不上, 会碰到了如下错误: 好啦. 现在说说怎么解决吧. 其实很简单. 方法如下. 首先进入C盘下的windows文件下, 找到Temp文件夹, 然后右击属性. 找到安全 ...
分类:
移动开发 时间:
2017-03-06 16:28:32
阅读次数:
468
C多级指针 *p > &p1 *(*p) >*(&p1) = &p2 *(*(*p)) >*(&p2) = &p3 *(*(*(*p))) >*(&p3)=&p4 *(*(*(*(*p)))) >*(&p4)=&temp *(*(*(*(*(*p))))) >*(&temp)=temp >8 C多级 ...
分类:
其他好文 时间:
2017-03-05 19:31:50
阅读次数:
166
我们在使用editText控件的时候,会遇到这样的一问题,就是我在输入时候,当我选择让文字变粗时,我输入的文字就会变粗,当我去掉选择时,再输入文字时,文字就是正常情况了。 这种情况,大家一般认为很简单啊。editText中不是有setTypeface这个方法吗。只要使用edit_temp.setTy ...
分类:
移动开发 时间:
2017-03-05 18:04:43
阅读次数:
300
找到全部子集 WITH TEMP AS ( SELECT * FROM CM_Region WHERE RegionCode='110000' UNION ALL SELECT T0.* FROM TEMP,CM_Region T0 WHERE TEMP.RegionCode=T0.ParentCo ...
分类:
其他好文 时间:
2017-03-01 16:24:39
阅读次数:
157
mysqldump-uroot-p123456meteosdata--where="sensorid=11andfieldid=0">/home/xyx/Temp.sql
分类:
数据库 时间:
2017-02-28 14:05:09
阅读次数:
191
Java是这样的: Map<Character, Integer> map = new HashMap<Character, Integer>(); map.containsKey(c) map.put(c, 1); int x = map.get(temp); ...
分类:
编程语言 时间:
2017-02-26 20:48:19
阅读次数:
286
一、标准交换模式 /**** *标准交换模式 *实现数组的逆序,原理就是数组的首尾元素进行交换 ***/ #define N 5; int main(){ int array[N] = {15,20,25,30,35} int temp; //声明临时变量 int i; for(i = 0;i<N/ ...
分类:
编程语言 时间:
2017-02-26 19:16:01
阅读次数:
177