I've been trying to get C++ Developer tools working for C++ compiling for 2 days but I still get the same error.
I've tried Uninstalling Developer tools C++ multiple times and installing it in both ways offered by the visual studio installer
I've tried learning how to Link the .lib or .obj file but Visual Studio Code doesn't support that.
Everything in the code is correct and none of the code is corrupted.
This is a problem with developer tools for Windows 11, It is most likely reproducible.
This is the error I get:
Test.c++ : fatal error LNK1107: invalid or corrupt file: cannot read at 0x74B