cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Got a little DB going. How to count how
Got a little DB going. How to count how many entries?
Oct 3, 2010 at 9:31pm UTC
Cloudboy
(14)
Each entry ends with a newline (\n) and is written to a txt file. How can I count how many entries there are? I am going to count them and then sort them.
Oct 3, 2010 at 11:33pm UTC
LB
(13399)
Count how many \n there are + 1?
Oct 4, 2010 at 12:10am UTC
Cloudboy
(14)
Yeah now I feel dumb. I figured it out simple enough, I'm just really out of practice and too quick to ask for help. Thanks though.
(I just used strtok)
Topic archived. No new replies allowed.