|
-
Aug 24th, 2001, 04:33 PM
#7
FWIW -
this generates a compiler warning:
for(int i = 0;i<strlen(str);i++)
unsigned and signed mismatch
this does not generate a compiler warning
for (int i = o;i<lstrlen(str);i++)
size_t is really UINT and int is signed. will definitely cause problems if you mix 'n' match types. It's a no-no.
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
|