“The system cannot find the file specified” when running C++ program

后端 未结 12 1718
庸人自扰
庸人自扰 2020-11-29 08:30

I installed Visual Studio 2010. I wrote a simple code which I\'m sure is correct but unfortunately, when I run the code, I get the error below.

Here is my code:

12条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 08:55

    I have recently not used VS 2010.

    Does your application really build correctly? To get more control in VS 2010 C++ Express, you can check menu item "Expert Settings" under Tools>Settings to get a Build' menu.
    After clicking Build->Build Solution (or Rebuild), you may verify in Output window (View->Outout), if your application is compiling and linking correctly.

    Sources :

    • http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/e60f9f37-69ad-47f3-b1d3-132aabe68f86
    • http://cboard.cprogramming.com/cplusplus-programming/135322-error-system-cannot-find-file-specified.html

    Hope it helps.

提交回复
热议问题