Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐:
搜索:
您的位置: Linux安全网 > Linux编程 > » 正文

Windows_Programing_English_To_Chinese_1_MSVC_C运行库(29)

来源: 未知 分享至:
05/17/2005  08:07p               1,024 default.LOG

05/17/2005  08:08p               1,024 SAM.LOG

05/17/2005  08:17p               1,024 SECURITY.LOG

05/17/2005  08:54p              12,288 software.LOG

06/05/2004  07:06a               1,024 system.LOG

06/05/2004  07:06a                   0 TempKey.LOG

06/05/2004  07:06a               1,024 userdiff.LOG

               7 File(s)         17,408 bytes

               0 Dir(s)   7,208,861,696 bytes free

 

Press any key to continue

按任意键继续...........

The following is a sample output run using VC++ EE 2005 on another machine.

下面是用VC++ EE 2005 在另外机器上编译执行输出的结果:

The following example tested on Win XP Pro SP2 using Visual C++ Express Edition 2005 with Windows SDK installed.

下面的程序在安装了VC++ EE 2005 Express版本的WinXP Pro SP2 机器上测试:

/*******cruntime.cpp*******/

/***Visual C++ EE 2005 on Win XP Pro SP 2 ****/

#include <stdio.h>

#include <conio.h>

#include <direct.h>

#include <stdlib.h>

#include <ctype.h>

 

int main(void)

{

    int chr, drive, curdrive;

    static char path[_MAX_PATH];

    char buffer[_MAX_PATH];

    char newdir[50] = \"\\testdir\";

    // charpath1[50] = \"C:\\WINNT\\System32\\config\";

    char path1[50] = \"


Tags:
分享至:
最新图文资讯
1 2 3 4 5 6
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史