/a.Out is not recognized as a name of cmdlet, function, script file, or operable program

  c++, coderunner, visual-studio-code

When Compiling c++ program in VSC I get this error.

./a.out : The term './a.out' is not recognized as the name of a cmdlet, function, script file, or operable program.       
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:84
+ ... ureAssignmentsAssignment 1Display_Float.cpp" ; if ($?) { ./a.out }
+                                                            ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (./a.out:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Java Programs are running fine, but c++ is giving this error. Solve it please!
Error

Source: Windows Questions C++

LEAVE A COMMENT