Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual C++ built file not updating

Status
Not open for further replies.

gregaug

Programmer
Sep 9, 2005
61
US
Hello,

I've got something really weird going on. I have a CPP file that I'm editing with Visual C++ 6.0. I've built the file (apidemo.cpp) into an exe file a couple times, but when I run the exe from the command line, it's almost as if nothing was updated. I've even tried simple things like cout << "test << endl; at the top of the code, but test does not output when run from the command line. If I use the "Execute apidemo.exe" from the Build menu in Visual C++, then it displays. I need to try it with the command line so that I can pass it parameters. I know this is weird, but does anyone have any clue what could be going on? Any help is appreciated.
 
ok, it was something incredibly dumb. When I hadn't notcied, someone changed the output filename and I had been looking at the modification time for the file, not noticing it was right next to the one that I was trying to execute. Sorry for such an incredibly dumb post.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top