Well, you're not off to very good start here.
The text of your post says your program "will run a set of process using fork." But even the comments in your code disagrees with that. When you run system() in a loop as you are doing, you will run one program after another. After the tenth program finishes, the ChildProcess function will return. Then your program finally performs it's first and only fork() which is a demo. And then it exits.
To get the ball rolling, you need to call fork() 10 times in a loop. And each child process will need run one of your jobs. One of the exec() calls would be much better than system().
I think that you should get this much working first.
But basicly you will need to install a signal handler that catches SIGCHLD to detect the death of a child.