I think you may be overthinking this. A simple implementation that should satisfy the assignment would be.
I think you may be overthinking this. A simple implementation that should satisfy the assignment would be: #define CHUNK 256 int processchar ( int fdin, int fdout, char inchar, char *outstr ) { char bufCHUNK; int r, outlen = strlen( outstr ); while ( (r = read( fdin, buf, CHUNK )) > 0 ) { int i; for ( I = 0; I In general, this is IMO something best done in wrapper functions around read() and write(), not in high-level calling code. ).
Wow. I was really overthinking it. For some reason I was under the impression that I needed to buffer my writes.
This solution very clearly shows that I can accomplish the definition without doing so. Thank you! – user1043711 Nov 13 at 1:25 Superb, thanks for taking the time to think it through completely.
:) – sarnold Nov 13 at 7:14.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.