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.

Recommended Answers

All 2 Replies

"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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.