- 博客(6)
- 资源 (22)
- 收藏
- 关注
原创 sizeof关键字
http://student.youkuaiyun.com/space.php?uid=526244&do=blog&id=349261. 定义:sizeof是何方神圣sizeof乃C/C++中的一个操作符(operator)是也,简单的说其作用就是返回一个对象或者类型所占的内存字节数。MSDN上的解释为:The sizeof keyword gives the amount of sto
2010-08-29 15:01:00
450
转载 .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
373
转载 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
601
转载 Stopwatch
命名空间:System.Diagnostics(转)Stopwatch 实例可以测量一个时间间隔的运行时间,也可以测量多个时间间隔的总运行时间。在典型的 Stopwatch 方案中,先调用 <a id="ctl00_MTContentSelector1_mainContentContainer_ctl30" onclick="function onclick(){function on
2010-03-25 10:56:00
675
原创 1.细节梳理
1.c++中的main()函数被启动代码调用,而启动代码是编译器添加到程序中的,是程序和操作系统的中间桥梁。2.#include中#include预处理指令导致预处理器将iostream文件中的内容添加到程序中。这是一种典型的预处理操作:在源代码被编译之前,替换或添加文本。实际上,iostream文件中的内容将取代程序中的代码行#include 。
2009-11-08 11:40:00
524
原创 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
1523
Visual.Assist.X.v10.5.1738.0.Cracked-YzL破解版
2010-02-11
Whole Tomato Visual Assist X (vs插件) v10.5.1715.0特别版
2009-12-12
JAVA2核心技术第7版卷1 part2
2009-08-06
JAVA2核心技术第7版卷1 part1
2009-08-06
数据结构题集答案(c 严蔚敏)txt格式
2008-12-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人