i tried using isdigit, but it is not working. Or maybe anyone can tell me how to use isdigit() to check if the string is a number?
Type: Posts; User: lingz82
i tried using isdigit, but it is not working. Or maybe anyone can tell me how to use isdigit() to check if the string is a number?
my program will read in a string from user input, how do i check if it is a number?
okie. Greatly appreciate everyone's help. thanks!
The int i am looking for is not fix at all times, like the cumulative of set of following data,
File1-0(71%) File2-0(63%) 177
File1-0(71%) File2-0(63%) 177
File1-1(59%) File2-1(63%) 167
I...
I am writing a program which require me to extract certain integers in the input string.
For example,
input string "this is 10th line of page 234" i want to extract the int 10 and 234. which...
problem solved. thanks for the reply
what function to use to count the number of words in a string. and also to output the first word and last word in the string.