cpp-teaching

C++ Visual Studio Code WSL Ubuntu

C++ Programming Techniques

[!NOTE] This repository is for learning the C++ programming language, and the compiler version is set to C++14.

If you find any content that are ambiguous or incorrect, feel free to do the following options:

Compiler Installation (Windows)

Install MinGW-x64

Tools to be installed in Mingw-x64

  1. Install the mingw-w64 GCC by running the following command on MSYS2:
pacman -S mingw-w64-ucrt-x86_64-gcc
  1. Check gcc and gdb version on Command Prompt:
gcc --version
gdb --version

Path Environment Setup

  1. Press Win and type env, select Edit the system environment variables
  2. Go to Environment Variables
  3. Choose Path variable in User variables and double click it
  4. Find msys64\mingw64\bin in your C Drive, and copy the path C:\msys64\mingw64\bin
  5. Back to Path variable session, select New and paste the path
  6. Remember to click OK OK OK

WSL in VS code with C++

VS Code - WSL extension (Optional)

Install Ubuntu - Windows Subsystem for Linux

WSL Check Update

Install GNU Compiler and GDB Debugger

Installation Check

Use WSL Terminal in VS Code

License

This project is licensed under the MIT. This means that you are free to use, modify, and distribute the project under the terms of this license.

Authors

Usage and Restrictions

The intent of this license is to allow for the free use of this project for educational, research, and personal projects. However, please adhere to the following guidelines: