after saving the file i cant run again,why?

sahil 1 Reputation point
2021-06-05T18:56:53.357+00:00

hi im started coding with c launguage.the problem is after saving the code and i click run it does not work some location.i copy the code and paste to new file and run it worked.but after saved and i run the code it not working,please help i dont whose problem.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
38,651 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 30,346 Reputation points Microsoft Vendor
    2021-06-08T06:30:37.027+00:00

    Hi @sahil ,

    Thank you for sharing me detailed information.

    I noticed that you are using VS Code, actually, there are some differences between Visual Studio IDE and Visual Studio Code(two different products), please first try to rename the file and remove the space between hello and world to see if it works, for example

    next click on file > save > and name give “helloworld”…

    BTW, since VS Code is currently not supported on Microsoft Q&A forums, you can start a new thread and ask this question on Stack Overflow tagged Visual Studio Code.

    Best Regards,
    Tianyu

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.