.length() equivalent for char array - C++ Forum

.length() equivalent for char array - C++ Forum

瀏覽:338
日期:2025-06-11
I have a char myArray[8] that I'm passing to a function. In my function I need to capture the length of the array similar to how length() returns the number of chars in a string. Is there a function out there that will do the job? Thanks, Return 0;...看更多