I have coded a scissor-paper rock game in c, it works on an online coding website. But when I paste it to vscode errors are coming out
Then I coded some easy code to test if this is a vscode issue, but it works.
I have ensured all the paths are corrected and added a new path in the Environment Variables (which I have a similar problem with Java and this method works).
C:Usersuser_nameAppDataLocalProgramsMicrosoft VS Codebin
However, the error still appears for the long c code or all the c files.
I don’t get why there is an error. Please help
enter image description here
PS C:UsersminwuUniversity2024> ./test
Hello World!
PS C:UsersminwuUniversity2024> ./Ass1fin
./Ass1fin : The term './Ass1fin' 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:1
+ ./Ass1fin
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (./Ass1fin:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I want this error to be solved, and vscode to run c successfully
min_wu6 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.