11 Steps to Setting Up a C++ Development Environment

Submitted November 26th 2021 by Admin_script


It is not easy to set up a C++ development environment. There are many steps that need to be taken before you can even get started with programming in C++. In this blog post, we will go over the first 6 steps of setting up your development environment. 1. Download and install mingwDownload the latest version of mingw from here: After that, extract everything and then double click on "mingw-get" in your extracted folder. Click next a few times until you see 'Select Components' and uncheck all boxes except for C/C++ compilers at this point already. Then hit next again and check 2. Configure your environmentFor this blog post, we'll be using Microsoft Windows. To configure our environment on that platform, the first thing you should do is download and install mingw. There are several different options available for this step but since I haven't had any issues with it in the past three years or so of use, my recommendation would be to go 3. Install some basic packagesTo set up the C++ environment, you will need to install some basic packages. The first package is GCC (GNU Compiler Collection). It's a compiler that allows us to compile our code into executables for your system or machine. You can download it from here Once you have downloaded and installed it, we now need 4. Open the terminal and try a few commandsOpen the terminal and try a few commands: - $ cd ~ && pwd 5. Create a new project directory, compile it, and run it as an executable file on the command line 6. Get to know some of the common directories in your home folde/home/yourname - Documents - Music - Videos - Downloads - Desktop- Pictures - Sites Folder (if you are using a VPS)

Admin_script | 5 months ago

No Relevant Questions


Источник материалов: Курсы онлайн от https://kodrazuma.ru — Обучение онлайн.