+ 3
What should I use
I need to categorize some word on basis of number of letters in it, how can I solve this?
2 Answers
+ 12
Use string::length?
std::string str = "hello, world";
std::cout << str.length();
+ 2
thanks
I need to categorize some word on basis of number of letters in it, how can I solve this?