Yes! strlen() is what I was looking for.
As a mostly C++ programmer, it has been eons since the last time I used
char or char* in any program, but in the project, which is ~35k lines
of code, 3 ones are dedicated to a 'const char*' value, thus I needed
to refresh my memory on the stdlib.h and/or stdio stuff.
Thanks Emanuel, strlen() is what I need to use in this case.
Keep up the good work!
"Jamiil" <jalqadir@netsc ape.net> writes:
[color=blue]
> Yes! strlen() is what I was looking for.
> As a mostly C++ programmer, it has been eons since the last time I used
> char or char* in any program, but in the project, which is ~35k lines
> of code, 3 ones are dedicated to a 'const char*' value, thus I needed
> to refresh my memory on the stdlib.h and/or stdio stuff.
> Thanks Emanuel, strlen() is what I need to use in this case.
> Keep up the good work![/color]
Btw, the declaration of strlen resides in <string.h>, (which is equvalent
to <cstring> in C++).
Comment