RUVIDEO
Поделитесь видео 🙏

Run First C/C++ program in Vs Code #c/c++

📁 Обучение 👁️ 24 📅 15.10.2024

Join this channel to get access the perks:
https://www.youtube.com/channel/UCCWFcAaM9_AarwJUimnTdxA/join

Hello everyone
Good morning 🙏 🌄
This is Anant, Anant Kumar
I'm a student at IIT Madras
I studied Data Science and Programming
I am from Bihar
You're most welcome on my channel
WhatsApp channel https://whatsapp.com/channel/0029Va5cPYg5kg77UgZWPW2M
Visual Studio Code https://code.visualstudio.com/
Using GCC with MinGW https://code.visualstudio.com/docs/cpp/config-mingw

steps:-
Prerequisites
To successfully complete this tutorial, you must do the following steps:
Install Visual Studio Code.
Install the C/C++ extension for VS Code. You can install the C/C++ extension by searching for 'C++' in the Extensions view (Ctrl+Shift+X).
1. You can download the latest installer from the MSYS2
2. Run the installer and follow the steps of the installation wizard. Note that MSYS2 requires 64 bit Windows 8.1 or newer.
3. In the wizard, choose your desired Installation Folder. Record this directory for later. In most cases, the recommended directory is acceptable. The same applies when you get to setting the start menu shortcuts step. When complete, ensure the Run MSYS2 now box is checked and select Finish. This will open a MSYS2 terminal window for you.

4. In this terminal, install the MinGW-w64 toolchain by running the following command:
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain
5. Accept the default number of packages in the toolchain group by pressing Enter
6.Enter Y when prompted whether to proceed with the installation.
7. Add the path to your MinGW-w64 bin folder to the Windows PATH environment variable by using the following steps:
a. In the Windows search bar, type Settings to open your Windows Settings.
b. Search for Edit environment variables for your account.
c. In your User variables, select the Path variable and then select Edit.
d. Select New and add the MinGW-w64 destination folder you recorded during the installation process to the list. If you used the default settings above, then this will be the path: C:\msys64\ucrt64\bin.
e. Select OK to save the updated PATH. You will need to reopen any console windows for the new PATH location to be available

Check your MinGW installation
To check that your MinGW-w64 tools are correctly installed and available, open a new Command Prompt and type:

gcc --version
g++ --version
gdb --version
You should see output that states which versions of GCC, g++ and GDB you have installed. If this is not the case:

Make sure your PATH variable entry matches the MinGW-w64 binary location where the toolchain was installed. If the compilers do not exist at that PATH entry, make sure you followed the previous instructions.
If gcc has the correct output but not gdb, then you need to install the packages you are missing from the MinGW-w64 toolset.
If on compilation you are getting the "The value of miDebuggerPath is invalid." message, one cause can be you are missing the mingw-w64-gdb package

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Run First C/C++ program in Vs Code #c/c++», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.