I set up GCC for C with this video.
https://www.youtube.com/watch?v=k6juv3mIr9o
I've downlaoded the c/c++ extension from visual studio.
yet when I press f5 to debug, I get this message. (screenshot)
I asked claude to help me fix this. we updated settings.json and tasks.json, and now I'm receiving this error when I press f5: "Configuration 'C/C++: gcc.exe build and debug active file' is missing in 'launch.json'."
some additional context: I've ran into the screenshot error 3x already today; each time I asked claude to help, and all I had to do was copy and paste the code into the settings.json and text.json files. however, I want a permanent solution as I need to spend time on actually using the debugger rather than setting it up each time.
How can I fix this permanently?
Download from WinLibs: https://winlibs.com/
GCC is a more advanced, more up-do-date C compiler (with numerous other compilers too) than Microsoft's "cl". Here's a link to the GNU C language extensions available when compiling with GCC: https://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html
"Hello world" source code:
#include "stdio.h"
int main(...