QUOTE(rachael_lm @ 21 Nov, 2007 - 01:17 PM)

student.h:4:1: unterminated #ifndef
The error that your compiler appears to be giving you is that you have a preprocessor
#ifndef directive at the top of your
student.h header file, but you haven't closed that block anywhere.
Try adding
#endif to the bottom of that file.
QUOTE(rachael_lm @ 21 Nov, 2007 - 01:17 PM)

cout << "Enter your department: " <<
cin >> facultyDepartment;
cout << "Enter your title: " <<
cin >> facultyTitle;
Some "rogue" << operators laying around here...
QUOTE(rachael_lm @ 21 Nov, 2007 - 01:17 PM)

mainProg.cpp:21: error: no match for 'operator>>' in 'std::cout >> std::endl'
Careful with your input/output operators. You've got the wrong one here on Line 21 of mainProg.cpp
There might be some other mistakes I didn't pick up, I've only read the code you posted and not tried compiling it myself.
I would make one suggestion to you, that is, to take the approach of testing very often. In other words, write a few lines of code, then compile & run it to pick up any typing errors or other mistakes that have snuck in accidentally. Do this until you're at least confident enough in yourself about the syntax and grammar of C++ that you can pick up the mistakes as you go along. Whilst you're still at the early stage of the learning curve, you'll find your life gets alot easier when you're not trying to fix dozens of compiler errors all at once.
This post has been edited by Bench: 21 Nov, 2007 - 10:13 AM