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)
CodePudding user response:
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.
CodePudding user response:
No you don't. You can enable autosave: File > Auto Save