you know... i could never figure out how to use forks in c++... my teachers can't explain it (yeah... i know... they must be great teachers, right?), i can't find a chewable explanation of how to use them... so... since, i guess students are better teachers than teachers themselves, specially because we know what it's like to not know (lol)... can anyone explain me or point me towards a nice explanation?
ndeniche
402
Posting Virtuoso
Featured Poster
Recommended Answers
Jump to PostNichito,
The use of fork() is shown quite clearly here:
http://docs.linux.cz/programming/c/unix_examples/fork.htmlIf you have no idea what fork does, I'll try to explain, but I'm VERY rusty on how to use them.
Your program calls fork(). A new instance of your program is created, which will …
Jump to PostWell.... do you have any reason you need to fork off a process in the first place?
All 7 Replies
dougy83
74
Posting Whiz in Training
ndeniche
402
Posting Virtuoso
Featured Poster
Rashakil Fol
978
Super Senior Demiposter
Team Colleague
ndeniche
402
Posting Virtuoso
Featured Poster
sillyboy
43
Practically a Master Poster
ndeniche
402
Posting Virtuoso
Featured Poster
sillyboy
43
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.