c++ class seriously need a lot of help

This is a discussion on c++ class seriously need a lot of help within the C++ Programming forums, part of the General Programming Boards category; My main.cpp
Code:
#include <vector>
#include "misc.h"
#include "person.h"
using namespace std;
int main (void) {
vector<Lecturer> vecLec;
vector<Student> vecStd;
...

Seriously, this is the most difficult part in my college lesson and the assignment that I had to be done. All my basic Person.cpp is the part where I think I had wrongly declared, especially the part where the enum with STUDENT and LECTURER and the function getType with PersonTYpe declared instead of void or int. How do I write in Person.cpp code, i completely lost this part here. Another part is the part where I had done using composition. I think the Person.cpp for the code is completely wrong for the composition. Give me some advice please. Anyway, alll the other codes are written by my lecturer expect the Person.cpp which is wrote by me. So, all the files have no problem expect the Person.cpp

Settle down, we can't help someone who is essentially panicing.
We need to approach this one thing at a time. First and formost we need to get the code to compile. Currently it will not compile for the reason the above poster specified. There may be more things stopping it too.
So your first step in allowing us to help you is for you to post the list of compile errors.
Next, pick a function that isn't completed or isn't doing what it is supposed to and tell us what the problem with it is.

By the way, if person.h was supplied to you then I can tell you that the code you are being given is of poor quality. It uses redundant keywords, utterly lacks const-correctness, and is very inefficient. It turns out that it is very hard to find a C++ course given by someone competent enough in the language themselves to properly teach it to others.

>>Lecturer::Lecturer(string inName, string inNric, string inRoom, int inSal)
>>:Person(PersonType inPType, string inName, string inNric)
The initializer list can contain function calls, but it is not a declaration. What you have is a declaration, which is wrong. You need to call that function (or constructor), not declare it.