Lỗi the system cannot find the file specified trong c++

The system cannot find the file specified"

asked Jul 30, 2013 at 12:15

Mr. SupashevaMr. Supasheva

3111 gold badge4 silver badges14 bronze badges

4

The system cannot find the file specified usually means the build failed [which it will for your code as you're missing a # infront of include, you have a stray >> at the end of your cout line and you need std:: infront of cout] but you have the 'run anyway' option checked which means it runs an executable that doesn't exist. Hit F7 to just do a build and make sure it says '0 errors' before you try running it.

Code which builds and runs:


# include 
int main[]
{
   std::cout  Linker -> General [In VS 2013 - exact path may vary depending on IDE version].

There is an "Output File" setting. If it is not


# include 
int main[]
{
   std::cout 

Chủ Đề