PROWAREtech
![](/img/wait2.gif)
![](/img/wait2.gif)
![](/img/wait2.gif)
![](/img/wait2.gif)
![](/img/wait2.gif)
![](/img/wait2.gif)
![](/img/wait2.gif)
![](/img/wait2.gif)
C/C++: strlen Procedure
Find length of ASCII c-string.
int strlen (const char * str)
{
int length = 0;
while( *str++ )
length++;
return length;
}
Comment![](/img/comment-white.svg)
int strlen (const char * str)
{
int length = 0;
while( *str++ )
length++;
return length;
}
This site uses cookies. Cookies are simple text files stored on the user's computer. They are used for adding features and security to this site. Read the privacy policy. |