0

What exactly does this mean??

Your program must determine the user-specified lower bound and upper bound by using command-line arguments. You will need to use the strtoul() function (from the cstdlib header) to convert command-line arguments to int values.

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by vmanes
0

"User-specified" means you must be able to read "command line arguments" and convert the arguments to integers.

The program will be run with a command similar to: progname lowval highval Then in the code grab lowval & highval (which will be c-strings) and use them.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.