...

Visualcplus exe что это за программа

Microsoft Visual C++ Redistributable latest supported downloads

The Visual C++ Redistributable installs Microsoft C and C++ (MSVC) runtime libraries. These libraries are required by many applications built by using Microsoft C and C++ tools. If your app uses those libraries, a Microsoft Visual C++ Redistributable package must be installed on the target system before you install your app. The Redistributable package architecture must match your app’s target architecture. The Redistributable version must be at least as recent as the MSVC build toolset used to build your app. We recommend you use the latest Redistributable available for your version of Visual Studio, with some exceptions noted later in this article.

For details on how to install and redistribute Visual Studio components, see Redistributing Visual C++ Files.

Visual Studio 2015, 2017, 2019, and 2022

This table lists the latest supported English (en-US) Microsoft Visual C++ Redistributable packages for Visual Studio 2015, 2017, 2019, and 2022. The latest supported version has the most recently implemented C++ features, security, reliability, and performance improvements. It also includes the latest C++ standard language and library standards conformance updates. We recommend that you install this version for all applications created using Visual Studio 2015, 2017, 2019, or 2022.

Unlike older versions of Visual Studio, which have infrequent redist updates, the version number isn’t listed in the following table for Visual Studio 2015-2022 because the redist is updated frequently. To find the version number of the latest redist, download the redist you’re interested in using one of the following links. Then, look at its properties using Windows File Explorer. In the Details pane, the File version contains the version of the redist.

Architecture Link Notes
ARM64 https://aka.ms/vs/17/release/vc_redist.arm64.exe Permalink for latest supported ARM64 version
X86 https://aka.ms/vs/17/release/vc_redist.x86.exe Permalink for latest supported x86 version
X64 https://aka.ms/vs/17/release/vc_redist.x64.exe Permalink for latest supported x64 version. The X64 Redistributable package contains both ARM64 and X64 binaries. This package makes it easy to install required Visual C++ ARM64 binaries when the X64 Redistributable is installed on an ARM64 device.

Download other versions, including long term servicing release channel (LTSC) versions, from my.visualstudio.com.

Notes

  • The Visual C++ Redistributable for Visual Studio 2015-2022 doesn’t have separate packages for different languages. It contains EULAs for all supported languages.
  • Some of the downloads that are mentioned in this article are currently available on my.visualstudio.com. Log in using a Visual Studio Subscription account so that you can access the download links. If you’re asked for credentials, use your existing Visual Studio subscription account. Or, create a free account by choosing the No account? Create one! link.
  • Visual Studio versions since Visual Studio 2015 share the same Redistributable files. For example, any apps built by the Visual Studio 2015, 2017, 2019, or 2022 toolsets can use the latest Microsoft Visual C++ Redistributable. However, the version of the Microsoft Visual C++ Redistributable installed on the machine must be the same or higher than the version of the Visual C++ toolset used to create your application. For more information about which version of the Redistributable to install, see Determining which DLLs to redistribute. For more information about binary compatibility, see C++ binary compatibility between Visual Studio versions.
  • Windows XP Support: Microsoft ended support for Windows XP on April 8, 2014. Current versions of the Visual C++ Redistributable for Visual Studio 2015-2022 only support Windows Vista, 7, 8.1, 10, and 11. The last version of the Visual C++ Redistributable that works on Windows XP shipped in Visual Studio 2019 version 16.7 (file versions starting with 14.27). The Redistributable is available in the my.visualstudio.com Downloads section as Visual C++ Redistributable for Visual Studio 2019 (version 16.7). Use the Search box to find this version. To download the files, select the platform and language you need, and then choose the Download button.
  • The Visual C++ Redistributable supports several command-line options. For more information, see Command-line options for the Redistributable packages.

Visual Studio 2013 (VC++ 12.0)

These links download the latest supported en-US Microsoft Visual C++ Redistributable packages for Visual Studio 2013. You can download other versions and languages from Update for Visual C++ 2013 Redistributable Package or from my.visualstudio.com.

Architecture Version Link
X86 12.0.40664.0 vcredist_x86.exe
X64 12.0.40664.0 vcredist_x64.exe

Other versions

  • Multibyte MFC Library for Visual Studio 2013. This MFC add-on for Visual Studio 2013 contains the multibyte character set (MBCS) version of the Microsoft Foundation Class (MFC) Library.
  • Visual C++ 2013 Runtime for Sideloaded Windows 8.1 apps. For more information, see C++ Runtime for Sideloaded Windows 8.1 apps on the C++ Team Blog.

Visual Studio 2012 (VC++ 11.0) Update 4 (no longer supported)

These links download the latest available en-US Microsoft Visual C++ Redistributable packages for Visual Studio 2012 Update 4. You can download other versions and languages from Microsoft Visual C++ Redistributable Packages for Visual Studio 2012 Update 4 or from my.visualstudio.com.

Architecture Version Link
X86 11.0.61030.0 en_visual_cpp_redistributable_for_visual_studio_2012_update_4_x86_3161523.exe
X64 11.0.61030.0 en_visual_cpp_redistributable_for_visual_studio_2012_update_4_x64_3161523.exe

Visual Studio 2010 (VC++ 10.0) SP1 (no longer supported)

Architecture Version Link
X86 10.0.40219.325 vcredist_x86.exe
X64 10.0.40219.325 vcredist_x64.exe

Download Redistributable files for other languages and architectures from:

Visual Studio 2008 (VC++ 9.0) SP1 (no longer supported)

Architecture Version Link
X86 9.0.30729.5677 vcredist_x86.exe
X64 9.0.30729.5677 vcredist_x64.exe

Download Redistributable files for other languages and architectures from:

Visual Studio 2005 (VC++ 8.0) SP1 (no longer supported)

  • Redistributable files for X86, X64, and IA64 architectures are available from Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update.

Среды разработки

Для создания программы на C++ нам нужны, как минимум, две вещи: текстовый редактор для набора кода и компилятор для превращения этого кода в приложение. При этом для компиляции необходимо запускать консоль или терминал. Однако есть и более удобный способ – использование различных сред разработки или IDE. Они, как правило, содержит встроенный текстовый редактор, компилятор и позволяют скомпилировать и запустить программу по одному клику мыши, а также имеют еще множество разных вспомогательных возможностей.

Для программирования под Windows наиболее популярной средой разработки, если говорить о C++, является Visual Studio. Данную среду можно найти по ссылке https://visualstudio.microsoft.com/ru/vs/community/.

После загрузки и запуска установщика Visual Studio в нем необходимо отметить пункт Разработка классических приложений на C++ :

Установка С++ в Visual Studio

Выбрав все необходимые пункты, нажмем ОК для запуска установки. После установки Visual Studio создадим первый проект. Для этого откроем Visual Studio. На стартовом экране среди шаблонов проектов для языка C++ выберем тип Console App , который представляет шаблон консольного приложения:

Первый проект на C++ в Visual Studio

На следующем экране в поле для имени проекта дадим проекту имя HelloApp и также можно указать расположение проекта. И затем нажмем на Create для создания проекта.

Создание проекта консольного приложения на C++ в Visual Studio

После этого Visual Studio создаст типовой проект консольного приложения на C++.

Первый проект консольного приложения на C++ в Visual Studio

Справа в окне Solution Explorer отображается структура проекта. В реальности окно Solution Explorer содержит в решение. В данном случае оно называется HelloApp. Решение может содержать несколько проектов. По умолчанию у нас один проект, который имеет то же имя – HelloApp. В проекте есть ряд узлов:

  • External Dependencies : отображает файлы, которые используются в файлах исходного кода, но не являются частью проекта
  • Header Files : предназначена для хранения заголовочных файлов с расширением .h
  • Resource Files : предназначена для хранения файлов ресурсов, например, изображений
  • Source Files : хранит файлы с исходным кодом

По умолчанию каталог Source Files содержит один файл с исходным кодом – HelloApp.cpp ( название проекта + расширение файла .cpp – как правило, исходные файлы на C++ имеют расширение .сpp ).

HelloApp.cpp содержит код на языке C++, и именно этот код мы можем увидеть в слева в текстовом редакторе Visual Studio. По умолчанию HelloApp.cpp содержит следующий код:

#include // подключение модуля iostream int main() // определяем функцию main < // начало функции std::cout 

Здесь использован весь тот код, который был рассмотрен в начальных темах.

Теперь запустим программу. Для этого в Visual Studio нажмем на сочетание клавиш Ctrl+F5 или выберем пункт меню Debug -> Start Without Debugging :

Запуск программы на C++ в Visual Studio

И в итоге Visual Studio передаст исходный код компилятору, который скомпилирует из кода исполняемый файл exe, который потом будет запущен на выполнение. И мы увидим на запущенной консоли наше сообщение:

Первое приложение на языке программирования C++

После этого на жестком диске в папке решения в каталоге \x64\Debug скомпилированный файл exe, который мы можем запускать независимо от Visual Studio:

Компиляция кода на языке программирования C++

В данном случае файл HelloApp.exe как раз и представляет скомпилированный исполняемый файл. И, кроме того, в той же папке автоматически генерируется вспомогательный файл - HelloApp.pdb , который содержит отладочную информацию.

Настройка проекта

Для языка C++ есть несколько стандартов, каждый из которых добавляет некоторые дополнительные возможности. И Visual Studio позволяет задать стандарт, который будет использоваться при компиляции приложения. Для этого перейдем к свойствам проекта:

Установка стандарта языка программирования C++ в среде Visual Studio

А в окне свойств перейдем к пункту Configuration Properties -> C/C++ -> Language . На открывшемся окне свойств с помощью опции C++ Language Standard можно задать стандарт языка, который мы хотим использовать:

При подготовке материала использовались источники:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
https://metanit.com/cpp/tutorial/1.4.php

Добавить комментарий