+ 1
How to validate input
I want to validate input up to specific range.How to do it
2 ответов
+ 3
That can be done with help of if-else
+ 4
you can use std::string
there's method called Length
use it to validate that input range
or if you want the length of
char * some_arg
int length = sizeof(some_arg) / sizeof(char)