|
-
Sep 25th, 2002, 08:01 PM
#1
Thread Starter
Stuck in the 80s
sizeof()
I have:
char word[10] = "donkey";
for example.
How can I count the number of not NULL characters in there? so I'd get 6 for this one? I could do a loop, but any other ways?
-
Sep 26th, 2002, 06:43 AM
#2
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Sep 26th, 2002, 03:50 PM
#3
Thread Starter
Stuck in the 80s
thanks
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
|