I always feel impatient and uncomfortable when I see simple array operations turned into needlessly complex loops but that's no fault of your C examples.
My only suggestion would be to put the C code into a simple fixed font like Courier. Also, I am not au courant with whatever is the C coding-style of the moment, but I always preferred the combination form of function-with-arguments, e.g. void empprofit(int profit[ ]) as opposed to the K&R style you use: void empprofit(profit) int profit[ ]; In fact, looking around the web, I see that some consider this latter style "obsolescent" - see http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=215&rl=1 Regardless of this, the JfC is a very good intro to J. On 4/13/07, Henry Rich <[EMAIL PROTECTED]> wrote:
> BTW Did you begin to feel impatient or uncomfortable when > reading and trying to > comprehend the c examples in that page? :) I sure felt uncomfortable writing them. If anybody has better ideas I'd like to hear them. Henry Rich > > -- > regards, > bill > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
-- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
