Verify A value

I need help verifing. If you need more information let me know, but I am a beginner. Just need help with the verifyValue.cpp
what kind of code or functions would you suggest.
Thanks

In options 1 and 2, the user will input the ID, Type, Description, Quantity on Hand, and Unit Cost as one string with the values separated by commas. Use the function strtok to parse the input into separate values. For the numeric values, call the function verifyValue to verify that the input string is a numeric value. Then call the functions atoi and atof to convert the input into anOne new Function

Create a new function to verify the numeric input values. This function will be in a separate source file.verifyValue.cpp

This function will determine if a string contains a valid numeric value. It will return true or false.

I'm having trouble telling where option 1 and 2 separate and whether there is a third option. Your description however sounds pretty good. Some folks here would prefer to see you use something like sprintf() or a stringstream to convert strings to numerical values, but atox() family of functions will work most of the time, too.

If you don't like using strtok() then you could probably do something similar with getline() using ',' as the delimiter instead of '\n'. Without seeing code and knowing what you are familiar with it's difficult to say which would be best.

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...