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
How to compare data in one column and co
How to compare data in one column and count the same
May 21, 2015 at 4:20am UTC
diavolique
(1)
I have a simple trouble. I need to compare data in column in my .dat file and count the number of identical data
May 21, 2015 at 6:42am UTC
Momothegreat
(67)
Man that is not really helpful. Try to post the code so we can see where you are at and what you're struggling with. Most likely you need to incorporate a check for equivalency inside a loop and setup a counter such as if(a == b) then count it.
Topic archived. No new replies allowed.