All pastes #372454 Raw Edit

Someone

public text v1 · immutable
#372454 ·published 2007-02-26 01:45 UTC
rendered paste body
#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;



}