I want to validate input up to specific range.How to do it
5/24/2020 3:54:06 PM
Krushna Katore2 Answers
New Answeryou 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)
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message