skip to Main Content

I’m new to coding and recently I came across a problem that my code doesn’t work unless I save that first so is it necessary to save a code every time I make a change in a code.(vscode)(c)

2

Answers


  1. No you don’t. You can enable autosave: File > Auto Save

    Login or Signup to reply.
  2. Usually, C and C++ are compiled, i.e. the file(s) with the source code need to go through a compiler to get translated to machine code. So, the program source needs to be saved first before it can go into the compiler, yes.

    Most IDEs, like VSCode, will save when you ask them to compile, because that’s useful assistance to you.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search