|
-
May 16th, 2009, 09:14 PM
#4
Re: warning: comparison between
 Originally Posted by olove
I miss the (s)
but what do you suggest instead of strlen?
You can use strlen. You just shouldn't use it inside the loop condition. Calculate the string length before the for statement and then use the calculated value.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|