Undefined first referenced
symbol in file
StudentCourses::StudentCourses(Student, Courses)/var/tmp//cchs2k3B.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
So I attached the StudentCourses.h file and the void function that contains the error.
It's a linker issue.
It does not found the definition of the student_courses constructor. Student temp_student(f_name, l_name, id_temp);
So check out StudentCourses.cpp
Undefined first referenced
symbol in file
StudentCourses::StudentCourses(Student, Courses) /var/tmp//cchs2k3B.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status