By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,148 Members | 1,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,148 IT Pros & Developers. It's quick & easy.

how to Count Number of Words in an array of characters

P: 9
IF i have an array of characters, (a text file has been written into it) what is a good way to do a word count on that array.

Nov 5 '06 #1
Share this Question
Share on Google+
3 Replies

P: 94
if your using c++ strlen should do the trick.
Nov 5 '06 #2

P: 9
it's in C, not C++
Nov 6 '06 #3

P: 9
figured it out ...thx anyways
Nov 6 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.