IBM has placed out on one of their web-sites a "programming challenge". This is for an (unrealistically simple) program whose specifications are at:
I have created *ONE* COBOL solution (probably NOT optimal for performance) and have posted it at:
That source should (I think) compile and run with any ANSI/ISO 85/89 conforming compiler. (It uses ONE intrinsic function - but that would be relatively easy to code around - if you had just an '85 Standard compiler).
I (and those posting the challenge) would be interested in other "solutions" and/or other timings.
NOTE WELL:
There are probably LOTS of things that I would do differenctly (particularly adding "error detecting and handling") if I were to make this into a "real" program.
I would also guess that using the (optional) binary file MIGHT be faster (at least on some platforms / with some compilers)
Bill Klein
I have created *ONE* COBOL solution (probably NOT optimal for performance) and have posted it at:
That source should (I think) compile and run with any ANSI/ISO 85/89 conforming compiler. (It uses ONE intrinsic function - but that would be relatively easy to code around - if you had just an '85 Standard compiler).
I (and those posting the challenge) would be interested in other "solutions" and/or other timings.
NOTE WELL:
There are probably LOTS of things that I would do differenctly (particularly adding "error detecting and handling") if I were to make this into a "real" program.
I would also guess that using the (optional) binary file MIGHT be faster (at least on some platforms / with some compilers)
Bill Klein