
.net 学习
neilfan
没什么说的sadfasdf
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
isstringstream fstream文件读取操作
1.#include #include #include #include using namespace std;void main(){ fstream file("E://msdn//a.txt");//不能放到中文路径下 ofstream out("b.txt"); string s,s1;/* while(geline(file,s)) { istringstream s原创 2009-10-29 11:10:00 · 1537 阅读 · 0 评论 -
Stopwatch
命名空间:System.Diagnostics(转)Stopwatch 实例可以测量一个时间间隔的运行时间,也可以测量多个时间间隔的总运行时间。在典型的 Stopwatch 方案中,先调用 <a id="ctl00_MTContentSelector1_mainContentContainer_ctl30" onclick="function onclick(){function on转载 2010-03-25 10:56:00 · 689 阅读 · 0 评论 -
Stopwatch 测速(转)
用Stopwatch测试C#代码执行速度2009-11-09 17:20用Stopwatch,简单,明了,精确。 // 使用 StopWatch 进行测量 Stopwatch sw = new Stopwatch(); sw.Start(); for (int i = 0; i { ++i; } sw.Stop(); Console.WriteLine(sw.E转载 2010-03-25 10:58:00 · 612 阅读 · 0 评论 -
.NET(C#)连接各类数据库-集锦
<br />http://advance.cnblogs.com/archive/2005/08/28/224619.html<br /> <br />.NET(C#)连接各类数据库-集锦<br /> <br />1.C#连接连接Access<br />程序代码: <br />-------------------------------------------------------------------------------<br />using System.Data;<br />using Sy转载 2010-07-03 17:15:00 · 387 阅读 · 0 评论