Ok, first let me say that you are a life saver. I have been working on this for five days now. I added the new lines of code:

#include "stdafx.h" // I added this as the first line of code

string NewStudentID=StudentID.substr(2,3);
cout << LastName << ", " << FirstName<< ", "<< FirstName <<LastName<<NewStudentID<<"@student.college.net\n\ n";

I ran the code and it says it can't find the file ""stdafx.h". I googled the problem and I guess I need to start my project as a win32 console or such. The problem is...I have to use a blank project as this is an assignment for a class.

How can I get "stdafx.h" to work when I am using a blank project as a template?

Thank you