Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~118 People Reached
Favorite Forums
Favorite Tags
c++ x 4
Member Avatar for VIcissitude24

[code=c++] #include <fstream> #include <iostream> #include <string> using namespace std; string getFileName(); int numCharsInFile( ifstream &in, int &nLines ); int numWordsInFile( ifstream &in, int &nWords ); main () { int nLines, nChar, avgCPL, nWords; ifstream textFile; string fileName; fileName = getFileName(); textFile.open(fileName.c_str()); if(!textFile.is_open()) { cerr << "Cannot open file: " …

Member Avatar for superjacent
0
118