20120113

How to use fork in C++

//Program in c to learn fork,linux1.cpp
#include<iostream>
using namespace std;
int main()
{
fork();
fork();
fork();
fork();
fork();
cout<<"Forked \n";
return 0;
}

Previous                             Home                               Next

1 comment:

  1. Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cppProgram in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cppProgram in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cppProgram in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cppProgram in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp
    Program in c to learn fork,linux1.cpp

    ReplyDelete