I have a structure that has
int Hour
int Min
int Sec
I'm reading string from file. File has text like: 23:21:30 12:32:54
I split whole line to separate times and then I do second split to structure. I'm doing
structure[x].Hour = atoi(token);
Then I need to check if structure[x].Hour is not alpha.
if(isalpha(structure[x].Hour)){//DO Something}
is not working. Any ideas?