Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Supose i have a class as so : class FileManip { private: char inputFileName[80];

ID: 3610301 • Letter: S

Question

Supose i have a class as so : class FileManip {

private:
char inputFileName[80];
char outputFileName[80];
char duplicatedFile[80];
public:

FileManip( char in[], char out[], char dup[] );
FileManip( ) { } // do nothing default constructor
~FileManip( );
int numOfLines( ) const;
int numOfChars( ) const;
int numOfWords( ) const;
void longestLine( int& length, int& position );
void duplicate( );
void remBlanks( );
void eqWordsPerLine( int WdsPerLine );
}; And in main i ask the user to enter the names of the inputfile, output file and duplicated file. i kno they are all sperate functions but what is insied eachof them?? numOfChars( ):which returns the number of characters of the input text filecontains.
numOfWords( ): which returns the number of words of the input textfile contains.
numOfLines( ): which returns the number of lines of the input textfile contains.
longestLine( ): which tells the length of the longest line and itsposition in the input file.
duplicate( ): which duplicates the input file into a duplicatedfile.
remBlanks( ): which copies input file to the output file in whichblank lines have been removed.
eqWordsPerLine( ): which copies input file to output filein which each line has same number of words. Supose i have a class as so : class FileManip {

private:
char inputFileName[80];
char outputFileName[80];
char duplicatedFile[80];
public:

FileManip( char in[], char out[], char dup[] );
FileManip( ) { } // do nothing default constructor
~FileManip( );
int numOfLines( ) const;
int numOfChars( ) const;
int numOfWords( ) const;
void longestLine( int& length, int& position );
void duplicate( );
void remBlanks( );
void eqWordsPerLine( int WdsPerLine );
}; And in main i ask the user to enter the names of the inputfile, output file and duplicated file. i kno they are all sperate functions but what is insied eachof them?? numOfChars( ):which returns the number of characters of the input text filecontains.
numOfWords( ): which returns the number of words of the input textfile contains.
numOfLines( ): which returns the number of lines of the input textfile contains.
longestLine( ): which tells the length of the longest line and itsposition in the input file.
duplicate( ): which duplicates the input file into a duplicatedfile.
remBlanks( ): which copies input file to the output file in whichblank lines have been removed.
eqWordsPerLine( ): which copies input file to output filein which each line has same number of words. And in main i ask the user to enter the names of the inputfile, output file and duplicated file. i kno they are all sperate functions but what is insied eachof them?? numOfChars( ):which returns the number of characters of the input text filecontains.
numOfWords( ): which returns the number of words of the input textfile contains.
numOfLines( ): which returns the number of lines of the input textfile contains.
longestLine( ): which tells the length of the longest line and itsposition in the input file.
duplicate( ): which duplicates the input file into a duplicatedfile.
remBlanks( ): which copies input file to the output file in whichblank lines have been removed.
eqWordsPerLine( ): which copies input file to output filein which each line has same number of words.

Explanation / Answer

Supose i have a class as so : class FileManip { private: char inputFileName[80];

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote