If you only need the (14.40) for compiling legacy code:
: In the Visual Studio Installer, select the "Desktop development with C++" workload. visual studio 14.40 download
To download , you need to install Visual Studio 2022 version 17.10 or later. While the main software is marketed as "Visual Studio 2022," the 14.40 designation refers to the specific version of the MSVC (Microsoft Visual C++) compiler toolset introduced with the 17.10 update. If you only need the (14