I\'ve read a getopt() example but it doesn\'t show how to accept integers as argument options, like cvalue would be in the code from the example:
cvalue
atoi(), which means ascii to integer is the function to use. Similarly, atof() can be used to get float values.
atoi()
atof()