scanf("%f", &num);
I have to check if thats a valid float variable and stop executing if it has symbols like @
or !
or %
etc..
Suggestions?
See Question&Answers more detail:osscanf("%f", &num);
I have to check if thats a valid float variable and stop executing if it has symbols like @
or !
or %
etc..
Suggestions?
See Question&Answers more detail:os