Hi, I m trying to convert c code to c++. I m stuck at some part! Please help.
What will be c++ equivalent of this snippet?
void Scanned(FILE * ifp,int i)
void Read(FILE * ofp)
int Checker(char s[],char u[])
void Stored(FILE *)
void Printed(FILE *ifp,FILE *ofp)
These are file pointers as parameters.
Also, is this struct correct for c++?
typedef struct checker
{
int age;
char name[20];
int roll_call;
}inti;