Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
As usual - numbers have their own characters "0123456789" that follow each other - you need to compare the character code - it must be between '0' and '9', then add characters to some buffer, and when a character other than digital is encountered - do something. Of course, there are a lot of libraries, but we are considering the general case - when libraries cannot be used.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question