using System;
using System.Data;
using System.Xml;
using System.Data.SqlClient;
using System.IO; public class TestWriteXML
{ public static void Main()...
分类:
数据库 时间:
2015-05-18 07:46:21
阅读次数:
149
工作环境:dll源代码是c,在Visual studio 2010中调试。第一步,调试的准备。用C#语言编写一个测试dll文件的程序,由于dll源程序是c的,且运行结果是黑屏的,所以C#代码也是运行在黑屏的console环境下。完整代码如下。using System;using System.Col...
分类:
其他好文 时间:
2015-05-18 06:23:11
阅读次数:
180
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Microsoft.Practices.EnterpriseLib...
分类:
其他好文 时间:
2015-05-18 01:03:18
阅读次数:
155
time_t 获得时间只能精确到秒,clock_t
获得时间能够精确到毫秒
#include
clock_t start,ends;
start=clock();
system("pause");
ends=clock();
cout...
分类:
其他好文 时间:
2015-05-17 23:38:47
阅读次数:
149
package 集合类.list类; /** * System.Collections.ArrayList类是一个特殊的数组。通过添加和删除元素,就可以动态改变数组的长度。 一.优点 1。支持自动改变大小的功能 2。可以灵活的插入元素 3。可以灵活的删除元素 * @autho...
分类:
编程语言 时间:
2015-05-17 23:27:26
阅读次数:
177
using Newtonsoft.Json;using System;using System.IO;using System.Linq;using System.Reflection;using System.Text.RegularExpressions;using System.Web;usi...
分类:
其他好文 时间:
2015-05-17 23:22:40
阅读次数:
161
当我们使用“项目”选项卡添加引用的时候,我们添加的其实是路径,在调用的时候,通过路径去找到这个程序集使用,当我们使用“浏览”选项卡是,就是把浏览到的这个程序集复制到当前程序集下;多线程:2.1 产生一个线程的4步骤:2.1.1 编写产生线程所要执行的方法2.1.2 引用System.Threadin...
分类:
编程语言 时间:
2015-05-17 21:47:17
阅读次数:
157
格式如下 功能:隐藏行号 复制代码 ? 把本地目录下所有的.c 和 .h 文件中的 system 字符串替换为 system_fun find -name "*.[hc]" | xargs perl -pi -e 's/system/system_fun/g'
分类:
其他好文 时间:
2015-05-17 21:42:13
阅读次数:
102
MainForm.cs:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using S...
分类:
其他好文 时间:
2015-05-17 20:14:30
阅读次数:
168
代码:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Diagnostics;using System.IO;using System.L...