文件名称:windows磁盘IO
介绍说明--下载内容均来自于网络,请自行研究使用
1 程序开发步骤如下
(1) 打开vc,选择菜单项file->new,选择projects选项并建立一个名为"floppy"的win32 console applicatoin工程;创建时注意指定创建该工程的目录;
(2) 在工程中创建源文件"floppy.cpp":选择菜单项project->add to project->files,在选择框中输入自己想要创建的文件名,这里是"floppy.cpp";在接下来询问是否创建新文件时回答"yes";然后通过Workspace->FileView->Source Files打开该文件,在其中编辑本程序的源代码;编辑结束后通过菜单项File->Save进行保存;
(3) 同(2)步骤再加入文件"floppy.h";
(4) 通过调用菜单命令项build->build all进行编译连接,可以在指定的工程目录下得到debug->floppy.exe程序;现在即可以运行该程序;由于没有命令行参数,故不必在控制台下来运行,直接运行即可;
2 补充说明
这里仅仅给出了编译结果和源程序,没有所创建工程的其他文件。-a step in the development process as follows (1) Open vc, select menu item file-gt; New, choose projects and the establishment of an option called "floppy" win32 console applicatoin works; Attention to create designated to create the directory of the project; (2) create the works Source "floppy.cpp" : Select menu item project-gt; add to project-gt; files, the choice of their own box to create the file name, here is the "floppy.cpp"; the next question asks whether the creation of new documents to answer "yes" ; then Workspace- gt; FileView- gt; Source Files to open the document, in which the editor of the program's source code; after editing through a menu item File-gt; Save for preservation; (3) with (2) further steps inserted in the document &
(1) 打开vc,选择菜单项file->new,选择projects选项并建立一个名为"floppy"的win32 console applicatoin工程;创建时注意指定创建该工程的目录;
(2) 在工程中创建源文件"floppy.cpp":选择菜单项project->add to project->files,在选择框中输入自己想要创建的文件名,这里是"floppy.cpp";在接下来询问是否创建新文件时回答"yes";然后通过Workspace->FileView->Source Files打开该文件,在其中编辑本程序的源代码;编辑结束后通过菜单项File->Save进行保存;
(3) 同(2)步骤再加入文件"floppy.h";
(4) 通过调用菜单命令项build->build all进行编译连接,可以在指定的工程目录下得到debug->floppy.exe程序;现在即可以运行该程序;由于没有命令行参数,故不必在控制台下来运行,直接运行即可;
2 补充说明
这里仅仅给出了编译结果和源程序,没有所创建工程的其他文件。-a step in the development process as follows (1) Open vc, select menu item file-gt; New, choose projects and the establishment of an option called "floppy" win32 console applicatoin works; Attention to create designated to create the directory of the project; (2) create the works Source "floppy.cpp" : Select menu item project-gt; add to project-gt; files, the choice of their own box to create the file name, here is the "floppy.cpp"; the next question asks whether the creation of new documents to answer "yes" ; then Workspace- gt; FileView- gt; Source Files to open the document, in which the editor of the program's source code; after editing through a menu item File-gt; Save for preservation; (3) with (2) further steps inserted in the document &
(系统自动生成,下载前可以参看下载内容)
下载文件列表
windows磁盘IO
.............\readme.txt
.............\源程序
.............\......\floppy.cpp
.............\......\floppy.cpp.bak
.............\......\floppy.h
.............\编译结果
.............\........\floppy.exe
.............\readme.txt
.............\源程序
.............\......\floppy.cpp
.............\......\floppy.cpp.bak
.............\......\floppy.h
.............\编译结果
.............\........\floppy.exe