1,从System.String[]转到ListSystem.String[] str={"str","string","abc"};List listS=new List(str);2, 从List转到System.String[]List listS=new List();listS.Add("...
分类:
编程语言 时间:
2015-04-13 22:27:19
阅读次数:
178
static void Main(string[] args) { DateTimedt = DateTime.Now;//获取电脑当前时间 DateTime nz = Convert.ToDateTime("2015-4-13 17:00"); while (true) {dt = dt.Add....
分类:
其他好文 时间:
2015-04-13 22:25:58
阅读次数:
145
static void Main(string[] args){ while (true) { int[] al = new int[7]; for (int i = 0; i al[j - 1]) { int t = al[j]; al[j] = al[j - 1]; al[...
分类:
编程语言 时间:
2015-04-13 22:20:10
阅读次数:
146
static void Main(string[] args) { string[] a = new string[]{"13045674567","15065477456","13245679876", "15263332121","18799998888","13778964563","15.....
分类:
移动开发 时间:
2015-04-13 22:18:28
阅读次数:
151
今天在运行的django的时候一直提示”系统错误“,如下except Exception, ex: logger.error(printException()) return render_string("系统错误!")便想当然的加入 except Exception,...
分类:
编程语言 时间:
2015-04-13 20:52:10
阅读次数:
122
static void Main(string[] args) //记住格式 { int n = 0; for (int x = 1; x * 2 <= 100; x++) { for (int y = 1; y * 1 <= 100; y++) { for (int z = 1; z * 0......
分类:
其他好文 时间:
2015-04-13 20:50:46
阅读次数:
130
static void Main(string[] args) { while (true) { try { int i = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("无异常"); } catch (Exception) {...
分类:
其他好文 时间:
2015-04-13 20:49:31
阅读次数:
107
D7下的函数:PWideChar转PAnsichar的 function WCharToChar(WString: PWideChar): string;var Len, dwMinSize: Integer; lpUsedDefaultChar: BOOL;begin Result := '...
分类:
其他好文 时间:
2015-04-13 20:44:52
阅读次数:
142
参考:http://www.cnblogs.com/edisonfeng/archive/2012/05/22/2513727.html一、基本属性TOnUserInfoShow = procedure(userName: String; userAge: Integer) of object;//...
两个栈来模拟浏览器的操作,简单模拟。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 stack forward; 7 stack back; 8 9 int main ()10 {11 string cur(...
分类:
其他好文 时间:
2015-04-13 20:41:47
阅读次数:
107