CPP file append example

完了済み 投稿 Oct 10, 2006 着払い
完了済み 着払い

Example CPP code to open, then fork N processes (one after the other in a for loop; parent must wait for each to exit before forking the next one). Parent process is called with two arguments; the # of processes, as well as a string for the filename. Each process must run in a separate thread from the parent, and each must be independently generated by the parent. Processes append to a text file created by the parent; a single "This is process id# %d\n" will do fine. Each process opens, appends one line to, then closes, the file. The process then exits, freeing the parent to create the next one. At least one global variable must exist, such that the parent can see values placed in this variable by the child processes. Good documentation is essential, especially on the fork process; please explain what each part of the program does.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

gpp compiler running under Linux. Standard portable code, please.

C プログラミング エンジニアリング Linux MySQL PHP プロジェクト管理 ソフトウェアアーキテクチャ ソフトウェアテスト UNIX ウェブホスティング ウェブサイト管理 ウェブサイトのテスト

プロジェクトID: #3851364

プロジェクトについて

8個の提案 リモートプロジェクト アクティブ Oct 11, 2006

アワード:

yazwas

See private message.

$12 USD 4日以内
(112レビュー)
6.6

8人のフリーランサーが、平均$17 で、この仕事に入札しています。

iconnsolutionsvw

See private message.

$21.25 USD 4日以内
(31件のレビュー)
4.5
pmishu20

See private message.

$21.25 USD 4日以内
(31件のレビュー)
4.4
malbla

See private message.

$12.75 USD 4日以内
(20件のレビュー)
3.8
samchiu

See private message.

$21.25 USD 4日以内
(7件のレビュー)
2.7
dhorlescu

See private message.

$21.25 USD 4日以内
(9件のレビュー)
2.3
gabrieldogaru

See private message.

$5.95 USD 4日以内
(4件のレビュー)
2.2
wrsdevel

See private message.

$17 USD 4日以内
(0件のレビュー)
0.0