Menu

Can compile but cant run

Dan Gav
2009-12-30
2012-09-26
  • Dan Gav

    Dan Gav - 2009-12-30

    Hey I am using 64bit windows 7 and trying to use dev-c++ and experiencing
    problems running programs. I am just doing a simple hello world program

    int main()
    {

    cout << " hello world " << endl;
    system("pause");
    return 0;

    }

    Compiler: Default compiler
    Building Makefile: "C:\Users\Daniel
    Gavrin\Documents\Programming\C++\Makefile.win"
    Executing make...
    make.exe -f "C:\Users\Daniel Gavrin\Documents\Programming\C++\Makefile.win"
    all
    make.exe: Nothing to be done for `all'.

    Execution terminated
    Compilation successful

    I hit run and nothing happens at all.

    Any suggestions?

    Thanks

     
  • Dan Gav

    Dan Gav - 2009-12-30

    nvm figured out the problem..was saving the file within my documents and
    apparantly that makes run not work...

     
  • cpns

    cpns - 2009-12-31

    Any path with spaces.

    Also the forum supports markdown syntax, and you should use it to avoid
    getting your posts garbled like that.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.