だから私はプログラミングの割り当てをしようとしています、ここにあります:
Write a C/C++ program (call it string invert) that takes a
string argument from the command line and outputs the string in reversed order. Here comes
the twist: Each process can output at most one character. If you want to output more than a
single character, you must fork off one or more processes in order to do that, and each of the
forked processes in turn outputs a single character. After the call to program string invert
with the command line argument, the output should appear, and no more processes should
be running, in addition to the shell. Test your program on any UNIX/LINUX machine, and
turn in the source code as part of the written assignment. (The source code should be at
most a few lines long.)
文字列の読み取りと反転を簡単に行うことができます。問題ありません。問題は、「各プロセスが最大1文字を出力できる」とはどういう意味かということです。それが何を意味するのかさえ分かりません。コードは必要ありません。理解できれば、自分でコードを実行できると確信しています。それが何を意味するのかを説明してくれる人が必要です。