The system cannot execute the specified program

I keep getting this error whenever I add std::cin and can’t seem to fix it regardless of whether or not I add the executable to my antivirus software’s exclusion list

It is almost definitely a problem with your antivirus. You could test that by disabling it for a moment to test.