


You should check that your Windows is compatible with it. Step 1 - install WSL (just query the net…). Minimal knowledge about Linux would be nice.You should be connected to the Internet, preferably with a good speed :-).So, please follow the next steps: Prerequisites: mainly writing many small and/or independent programs that work using console input/output - not big projects, nor graphical ones), wsl seemed a logical approach. There are cross-compilers available.īecause my objective was learning (i.e. Keep in mind that, when using wsl and Linux tools (such as gcc, g++) the default executables are Linux-native - so they will run on Linux, not on Windows.

Please note that we are still discussing about (re)learning programming, C++ in this case.Īlso, don't forget that VSC is still an editor. (Another alternative was to use the native Microsoft tools - but these seems to be too big and/or complicated - although the debugging is the best.) I tried MinGW / MSYS / Cygwin, and I thought that, since Microsoft was offering Linux natively in the latest editions of Windows 10, to use WLS (Windows Subsystem for Linux). VSC seemed to satisfy my requirements, but implied the installation of a C++ compiler & other tools needed to compile and run the programs. I was looking for some simple IDE and I was not very pleased with CodeBlocks or NetBeans. Some time ago (see previous gist) I began to explore Visual Studio Code with the intent to re-learn C++. Installing & Using Visual Studio Code for C++ learning - Part 2 - using WSL
