文件名称:进程创建
介绍说明--下载内容均来自于网络,请自行研究使用
1 程序开发步骤
(1) 打开vc,选择菜单项file->new,选择projects选项卡并建立一个名为\"process\"的win32 console applicatoin工程;创建时注意指定创建该工程的目录;
(2) 在工程中创建源文件\"process.cpp\":选择菜单项project->add to project->files,在选择框中输入自己想要创建的文件名,这里是\"process.cpp\";接下来询问是否创建新文件时回答\"yes\";然后通过Workspace->FileView->Source Files打开该文件(同上一试验);
(3) 通过调用菜单命令项build->build all进行编译连接,可以在指定的工程目录下得到debug->process.exe程序;再把给定的launchset.txt文件存入该debug目录下,就可以在控制台下进入该目录以launchset.txt为参数运行程序,命令行为:process launchset.txt;要强调的是,在launchset.txt中指定的应用程序路径要正确,否则建立新的进程时会出错,这时需要对照系统的实际情况改动所给的参数文件。
2 补充说明
这里仅仅给出了编译结果和源程序,没有所创建工程的其他文件。-a program development steps (a) to open vc, select menu item file-gt; New, tab to choose projects and the establishment of a "process" of win32 console applicatoin works; Attention to create designated to create the directory of the project; (2) establish a project document "process.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 "process.cpp"; the next question asks whether the creation of new documents to answer "yes"; then Workspace - gt; FileView - gt; Source Files open the document (ibid. a pilot); (3) Order by calling menu items build-gt; build compile all connected, in the specific project directory under debug - gt; process. exe; then to the launchset.txt documents
(1) 打开vc,选择菜单项file->new,选择projects选项卡并建立一个名为\"process\"的win32 console applicatoin工程;创建时注意指定创建该工程的目录;
(2) 在工程中创建源文件\"process.cpp\":选择菜单项project->add to project->files,在选择框中输入自己想要创建的文件名,这里是\"process.cpp\";接下来询问是否创建新文件时回答\"yes\";然后通过Workspace->FileView->Source Files打开该文件(同上一试验);
(3) 通过调用菜单命令项build->build all进行编译连接,可以在指定的工程目录下得到debug->process.exe程序;再把给定的launchset.txt文件存入该debug目录下,就可以在控制台下进入该目录以launchset.txt为参数运行程序,命令行为:process launchset.txt;要强调的是,在launchset.txt中指定的应用程序路径要正确,否则建立新的进程时会出错,这时需要对照系统的实际情况改动所给的参数文件。
2 补充说明
这里仅仅给出了编译结果和源程序,没有所创建工程的其他文件。-a program development steps (a) to open vc, select menu item file-gt; New, tab to choose projects and the establishment of a "process" of win32 console applicatoin works; Attention to create designated to create the directory of the project; (2) establish a project document "process.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 "process.cpp"; the next question asks whether the creation of new documents to answer "yes"; then Workspace - gt; FileView - gt; Source Files open the document (ibid. a pilot); (3) Order by calling menu items build-gt; build compile all connected, in the specific project directory under debug - gt; process. exe; then to the launchset.txt documents
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 27796734进程创建.rar 列表 进程创建\readme.txt 进程创建\源程序\launchset.txt 进程创建\源程序\process.cpp 进程创建\源程序 进程创建\编译结果\launchset.txt 进程创建\编译结果\process.exe 进程创建\编译结果 进程创建