Can anyone help me out.
I need to validate a record read into an array and i have to seperate the fields entered.
for Example
user input: allen - 2234 - 3d
I need to break it up into separate parts when a '-' is encountered and then check the fields to see if the are all chars or ints. Actually checking the fields i am comfortable with, but i am not allowed to use the string.h library and so no strtok, so here is my question:
Is there an equivalent way of breaking up the array this with out using strtok . Are there any other functions that can be used to separte these?
Please no unions or structs, just arrays please
thanku