Someone
public text v1 · immutable#include <iostream>
#include <fstream>
using namespace std;
#include <string>
void countWords(int count);
void countCharacters();
int main()
{
return 0;
}
void countWords(int count)
{
string temp;
ifstream file( "txtdata.txt" );
while( file >> temp )
{
count = count + 1;
}
cout << "found " << count << " words" << endl;
}