how to check size of a string in c++ code example Example: is it len function is aviable for c+= str.length();