- Feb 10, 2005
- 3,197
- 0
- 76
Hello
I am looking for a program to count numbers in a text file: I have found a couple but they dont count the way I am needing. The program has about 800,000 numbers that needs to be counted:
Here is a example of what I am needing a program to count:
Take this text:
10 20 30 40 10 60 70 10
20 30 20 20
5 5 5 5 5 5
Results I am needing
5 X 6
10 X 3
20 X 4
30 X 2
40 X 1
60 X 1
70 X 1
Most will count like this: These I cannot use
18 Counts entire text
or
0 X 12
1 X 3
2 X 4
3 X 3
4 X 1
5 X 6
6 X 1
7 X 1
I am looking for a program to count numbers in a text file: I have found a couple but they dont count the way I am needing. The program has about 800,000 numbers that needs to be counted:
Here is a example of what I am needing a program to count:
Take this text:
10 20 30 40 10 60 70 10
20 30 20 20
5 5 5 5 5 5
Results I am needing
5 X 6
10 X 3
20 X 4
30 X 2
40 X 1
60 X 1
70 X 1
Most will count like this: These I cannot use
18 Counts entire text
or
0 X 12
1 X 3
2 X 4
3 X 3
4 X 1
5 X 6
6 X 1
7 X 1