How to Program in CPP / C++ and C in Linux
Pages
Home
C++ Cloud
Class and Objects
Function in C++
Constructors and Destructors
Operator Overloading and Type Conversion
Inheritance
Virtual Functions and Polymorphism
Accept an object by reference in copy constructor in C++ ?
Pointers in C/CPP/C++
Data Structure cpp Programs
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment