﻿Complete the “**findC**?? function to satisfy the requirements described below.
"**ch**" holds the character to be searched for.
"**afile**" is a pre-opened file stream.
"**where**" indicates the position where a match is found.
This function returns 1, if "**ch**" is found in "**afile**". Also, "**where**" will hold the position at which the first occurrence of "**ch**" is found. This function returns 0, if "**ch**" is NOT found in afile. Also, "**where**" holds 0, if "**ch**" is not found.
int findC(char **ch**, fstream & **afile**, int & **where**)
int position=1; // current character position in afile
while (! [url removed, login to view]()) // loop until the end of file
afile >> c; // read 1 character from afile into c
.............. Need to be Completed by You .............
} // findC
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).