Beginner to Coding NEEDS HELP!!!

  • TheTempest
    28th Feb 2011 Member 0 Permalink
    OK, so I am using Visual Studio 2010 C++ Express.
    I am trying to learn how to create .exe's, but every time i Debug this:

    #include < iostream >
    using namespace std;

    int main() {
    cout << "Test Project"; <br />
    return 0;
    }




    I get a message saying it is out of date so i click to Build Solution and get this:

    ------ Build started: Project: Test_06, Configuration: Debug Win32 ------
    LINK : fatal error LNK1104: cannot open file 'Debug\main.obj'
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




    PLEASE HELP ME!!!!!!!!!!!!!!!!
  • HeyJD
    28th Feb 2011 Member 0 Permalink
    Have you saved your project yet?
  • TheTempest
    28th Feb 2011 Member 0 Permalink
    Yes and it still pops up
  • TheWiseEyes
    28th Feb 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • TheTempest
    28th Feb 2011 Member 0 Permalink
    tried that too, still says cannot open file 'debug\main.obj'
  • Dragonfree97
    28th Feb 2011 Member 0 Permalink
    You have to include some other file if you're using VisiStudio, but I forget what it is... :/
  • Diissaster
    28th Feb 2011 Member 0 Permalink
    Have you deleted or moved stuff around?
  • TheTempest
    28th Feb 2011 Member 0 Permalink
    No I didn't.