Calculate frequency count for time for the
following.........................
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream filein;
filein.open("datafile.dat",ios::in);
int a[100];
int j,k=0,h;
filein >> j;
while (filein){
a[k]=j;
k++;
filein >> j;
}
filein.close();
system("pause");
return 0;
}
explain the output plz
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.