Good morning,
I am having a problem with the error messsage "cannot create pre-compiled; code in header" the error points to the syntax below where the { starts:
#include <iostream.h>
#include "student.h"
#include <string.h>
student::student(char name[]) //constructor
{
count++; //increment count
studentID = count;
strcpy(fname, name);
}
What did i do wrong?
I am having a problem with the error messsage "cannot create pre-compiled; code in header" the error points to the syntax below where the { starts:
#include <iostream.h>
#include "student.h"
#include <string.h>
student::student(char name[]) //constructor
{
count++; //increment count
studentID = count;
strcpy(fname, name);
}
What did i do wrong?