This project is out of date Error

This is my first program in C++ but I can't get it to work. Complete noob spoon feed please don't know anything except those code I use Mircosoft Visual C++ the latest version
it gives me this error when I debug

Photo shot of error

http://s1213.photobucket.com/albums/cc465/cplusplus1/?action=view&current=Capture.png

program

// First program.cpp : main project file.

#include <isostream>
int main ()
{
using namespace std;
cout << "Come up and C++ me some time."
cout << endl;
cout << "You won't regret it!" << endl;
return 0;
}
that's not an error - you can click YES

what is happening is, under the IDE covers, there is a Makefile which essentially says your program.exe depends on program.cpp

if you modify and save program.cpp, its timestamp will be newer than program.exe

when this happens, you get the "This project is out of date" because your program.exe is too old
(your program.cpp has new stuff in it, but your program.exe doesn't reflect those changes yet)

it's just asking you if you want to recompile program.cpp and create a new program.exe
Last edited on
Topic archived. No new replies allowed.