I like to use the CString class since the variables cannot overflow the allocated memory. Over the last twenty years, I have exceeded the defined length of a variable way too many times.
CString also has a function for obtaining the length of the string.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.