20120113

How to use fork in C++


//Program in c to learn fork, linux1.c

#include<iostream>
using namespace std;
int main()
{
fork();
fork();
fork();
fork();
fork();
cout<<"Forked";
return 0;
}
Previous                             Home                               Next

No comments:

Post a Comment