Hi all
I want to write program in linux about
first come first served algoriyhm by using C++
but I don't know how to start???????????????
I know how to write the code in XP system.
what is the difference between programming in linux and xp?
Can anyone help?
fuzzyrose 0 Newbie Poster
Recommended Answers
Jump to Postit depends on your code, but as long as you use a compiler for xp / linux you should get your code to run on either with minimal changes.
Jump to PostFor process management you can simply fork() the main process and create child processes. Thats why the linux is multhithreading system. This is simply different in MS.
If you want to queue your processes as they arrive you can use the fork() to create threads for each process.
All 6 Replies
sillyboy 43 Practically a Master Poster
sureronald 0 Junior Poster
Evil_Tidus 0 Newbie Poster
slacke 4 Junior Poster
necrolin 94 Posting Whiz in Training
necrolin 94 Posting Whiz in Training
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.