i've this program which is not working and the output give me the following errors, i though that the function prototypes will have solved this problem. Please i'm looking forward for any ideas;
error C2065: 'prnt' : undeclared identifier
error C2563: mismatch in formal parameter list
error C2568: unable to resolve function overload
error C3861: 'process': identifier not found
error C3861: 'computeAvr': identifier not found
error C3861: 'prnDetail': identifier not found
6 error(s),
#include "stdafx.h"
#include<iostream>
#include<fstream>
#include<iomanip>
using namespace std;
//---------------------- FUNCTION PROTOTYPES -----------------------------
void OpenFile(void); // open grade file
void PrnHeadings(void); // print headings
void ProcessLoop(void); // processing loop
void InputRecord(void); // input grade record
void ComputeAvr(void); // compute grade average
void PrnDetail(void); // print detail line
//---------------------- PROGRAM SETUP ----------------------------------
//** H E A D I N G L I N E S
char PT1[] = " S I X W E E K G R A D E R E P O R T";
char HL1[] = " student T e s t S c o r e s Average";
char HL2[] = "------------------------------------------";
//** I N P U T G R A D E R E C O R D
ifstream gradeFile; // file object name
char student[16]; // student name
int grade1; // 1st week grade
int grade2; // 2nd week grade
int grade3; // 3rd week grade
int grade4; // 4th week grade
int grade5; // 5th week grade
int grade6; // 6th week grade
//** P R O G R A M V A R I A B L E S
float gradeTotal; // grade total
float gradeAvr; // grade average
//** O P E N P R I N T E R F I L E
//----------------------------------------------------------------
// MAINLINE CONTROL
//----------------------------------------------------------------
int main()
{
OpenFile(); // open grade file
if (!gradeFile.fail())
{
PrnHeadings(); // print headings
ProcessLoop(); // processing loop
gradeFile.close(); // close grade file
}
cout << "\n--------< E N D OF R U N ------------";
return 0;
}
//----------------------------------------------------------------
// OPEN GRADE FILE
//---------------------------------------------------------------
void OpenFile(void)
{