User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 391,555 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,670 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:
Views: 1413 | Replies: 19
Reply
Join Date: Jul 2007
Location: Bahrain
Posts: 110
Reputation: krnekhelesh is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
krnekhelesh's Avatar
krnekhelesh krnekhelesh is offline Offline
Junior Poster

Question What are forks????

  #1  
Jul 8th, 2007
I need to what are forks and where we use them in C++.
Are they essential????
God is great.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2007
Location: Bahrain
Posts: 110
Reputation: krnekhelesh is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
krnekhelesh's Avatar
krnekhelesh krnekhelesh is offline Offline
Junior Poster

Re: What are forks????

  #2  
Jul 8th, 2007
I hope that anyone who does not know about this would benefit by this discussion.
God is great.
Reply With Quote  
Join Date: Apr 2004
Location: Tracy
Posts: 743
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Rep Power: 7
Solved Threads: 32
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: What are forks????

  #3  
Jul 8th, 2007
http://www.daniweb.com/forums/thread82074.html

posted just a few below this.

as well as some good examples linked i believe.
!!!!! WARNING YOUR COMPUTER MAY BE INFECTED WITH SPYWARE!!!! PAY AN OVER PRICED AMMOUNT TO HAVE SOMTHING FIXED WE PLACED THERE IN THE FIRST PLACE!!!!!!!!!

sound familiar, know how to block yourself and keep yourself clean.
_____________________
http://www.lavasoftusa.com/ -->adaware
http://www.safer-networking.org/en/index.html -->spybot S&D
http://www.javacoolsoftware.com/spywareblaster.html -->spywareblaster
http://www.javacoolsoftware.com/spywareguard.html -->spywareguard
_____________________
and dont forget to spread the reputation to those that deserve!
Reply With Quote  
Join Date: Mar 2007
Posts: 120
Reputation: sillyboy is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 9
sillyboy sillyboy is offline Offline
Junior Poster

Re: What are forks????

  #4  
Jul 8th, 2007
Originally Posted by krnekhelesh View Post
Are they essential????

Depends on what you are coding (Generally, I'd say no). Also, check the other forum.
Reply With Quote  
Join Date: Jul 2007
Location: Bahrain
Posts: 110
Reputation: krnekhelesh is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
krnekhelesh's Avatar
krnekhelesh krnekhelesh is offline Offline
Junior Poster

Re: What are forks????

  #5  
Jul 9th, 2007
I saw that thread. But the explanation was not satisfactory. They explained it from the point of C language.

But this forum is for C++.
Last edited by krnekhelesh : Jul 9th, 2007 at 2:08 am.
God is great.
Reply With Quote  
Join Date: Mar 2007
Posts: 120
Reputation: sillyboy is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 9
sillyboy sillyboy is offline Offline
Junior Poster

Re: What are forks????

  #6  
Jul 9th, 2007
Your questions are related to the fundamentals of forks. What are forks? Where are they used? Are they essential? These questions have been answered (yes from a C perspective), but that does not change the answers.
Reply With Quote  
Join Date: Jul 2007
Location: Bahrain
Posts: 110
Reputation: krnekhelesh is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
krnekhelesh's Avatar
krnekhelesh krnekhelesh is offline Offline
Junior Poster

Re: What are forks????

  #7  
Jul 11th, 2007
So a fork splits a process into 2 processes. But why? Suppose you write a simple C++ program which prints Hello World on the screen, what is the process there?
God is great.
Reply With Quote  
Join Date: Jul 2007
Location: Bahrain
Posts: 110
Reputation: krnekhelesh is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
krnekhelesh's Avatar
krnekhelesh krnekhelesh is offline Offline
Junior Poster

Re: What are forks????

  #8  
Jul 15th, 2007
Could you explain forks to me?
God is great.
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,646
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 191
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: What are forks????

  #9  
Jul 15th, 2007
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Join Date: Jun 2004
Location: Worcester, Massachusetts
Posts: 180
Reputation: Toba is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 3
Toba's Avatar
Toba Toba is offline Offline
Junior Poster

Re: What are forks????

  #10  
Jul 15th, 2007
Can you explain google to me?
what? WHAT?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb C++ Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 9:40 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC