I formated my computer yesterday and reinstalled vscode, the compiler and included it to the path, but the program doesn't generate output, here a screenshot image of the code and error) if anyone can help me fix it, it would be very helpful.
I tried restarting vscode, reinstalling c/c++ compile run extension, but didn't work, if anyone can give me a detailed explanation on how to fix this please do.
OS: Windows 11 Compiler: TDM-GCC
If the terminal is not the proble, check the Path settings, copy the path and paste it to vs code, in my case I had the incorrect path and that is why it didn't compile.