Hi I am currently writing a program that would take a number, then compare that number to numbers in a file that I have opened. I am having a few problems.
This is what one of the functions I am having a problem with looks like:
the function receives a pointer to a file containing the numbers along with area(the first number in the file e.g 0 200 699, the first 0 is considered area) and checks if the area is in the file
int registeredA(FILE* fp, int area);
This function returns true if the area identifier is listed in the prefix table; false otherwise. Note that the area parameter is of int data type.
Thanks any help would be appreciated