文件名称:10.19
介绍说明--下载内容均来自于网络,请自行研究使用
windows操作系统编程示例,主进程由命令行参数输入两个整数,主进程创建两个子进程,分别把两个整数传给两个子进程,子进程计算1+2+..+n一直加到整数的前N项和并输出。如果是输入的整数是负数,则退出进程。-windows operating system, programming examples, the main process parameters from the command line input two integers, the main process to create two sub-processes, respectively, the two integers passed to two sub-processes, sub-process computing 1+2+ ..+ n has been added to the integer and the first N entries and output. If the input integer is negative, then the exit process.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
childprocess.c
mainprocess.c
mainprocess.c