I wrote this program for a class, and I keep getting the LNK2001 error.
//This program will take input from a user file, read the input,
//and output the first word after the first three commas
//************************************************************
int main()
{
ifstream inFile; //begin conversion function c_str
string fileName, //allow user name file
firstWord, //get word after first comma
secondWord, //get word after second comma
thirdWord; //get word after third comma
I'd guess you are compiling as a CRT console project or something like that. Try creating an empty project and compiling the code there, or go into the settings and change it to native/standard/whatever C++.