public?class?InsertSort?{
public?static?void?main(String[]?args)
{
//数组声明
int[]?a?=?{5,1,3,0,1,4,-1};
int?L?=?a.length;
//首先确保前两个元素是升序的
if(a[1]<a[0])
{
...
分类:
编程语言 时间:
2015-06-26 11:13:28
阅读次数:
120
调试发现时间写的一样NB代码test.cint add(string);int main(){ char* p = "11222"; add(p); return 0;}int add(string){ return 0;}使用c编译类型不能写。默认类型为int。太easy一个错字,右
分类:
编程语言 时间:
2015-06-26 10:52:57
阅读次数:
115
1 /// 2 /// 遍历指定文件夹下的文件 3 /// 4 /// 指定的目录 5 public static void FindFile(string dirPath) 6 { 7 ...
分类:
其他好文 时间:
2015-06-26 10:45:48
阅读次数:
108
public static void generateDestBill(Context ctx, String srcBosType, String destBosType, CoreBillBaseCollection srcBillCollection, ...
分类:
其他好文 时间:
2015-06-26 10:38:29
阅读次数:
98
问题背景有同事反馈在mysql上面执行一条普通的insert语句,结果报错,execute failed due to >>> Incorrect string value: '\xA1;offl...' forcolumn 'biz_info' at row 1 经过半天的折腾,终于搞清楚了来龙去...
分类:
其他好文 时间:
2015-06-26 10:38:04
阅读次数:
114
private String[] t1 = { "姓名", "性别", "年龄", "居住地","邮箱"}; private String[] t2 = { "般若", "男", "25", "北京", "bangruo@gmail.com" }; private String[] mListT.....
分类:
编程语言 时间:
2015-06-26 10:37:00
阅读次数:
107
本文主要记录了C++常用的有关std::string的操作指令.
分类:
其他好文 时间:
2015-06-26 10:36:07
阅读次数:
70
public class JsonSerializer
{
///
/// json序列化
///
///
///
///
public static string JsonStringSerializer(T t)
{
Data...
///
/// 实体类序列化的反序列化的类
///
///
public abstract class EntityClassXmlSerializer
{
///
/// 实体类序列化成xml string
///
///
///
public s...
【运算符优先级】
结合方向
运算符
附加信息
无
clone new
clone 和
new
左
[
array()
右
++ -- ~ (int) (float) (string) (array) (object) (bool) @
类型和递增/递减
无
instanceof
类型
右
!
逻...
分类:
Web程序 时间:
2015-06-26 09:26:25
阅读次数:
238