Program won't build at home but at school it works.

The school has visual studios 2010 and i have the 2010 express version at home. My programs run fine at school but at home they won't run. Here's an example of one i created at home but it won't build because they're apparently build errors.....

#include <iostream>
using namespace std;

int main()
{
cout << "C++ is Fun!\n";
return 0;
}
What errors are you getting?
i don't know exactly, a message pops up and says that there were build errors. This is what comes out of the output display if it helps:

1>------ Build started: Project: one, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
forgot to mention that when i created the project, i ONLY selected the empty project box so im pretty sure i didn't set up my project incorrectly. I also right clicked source files and went to add new item to start this program. I'm doing the exact same thing i do at school. Im so confused to why it's not working at home. Could it be because i only have the 2010 express version that i downloaded for free instead of the school's version?
Topic archived. No new replies allowed.