Documente Academic
Documente Profesional
Documente Cultură
Now we need to compile. I right click anywhere I want and click the WSL button to open
up an Ubuntu terminal in the current directory.
I have setup the cpp file on my computer desktop, so that’s where we will be working. I
do a quick “ls” command to see where I am.
I see I’m in the correct place, and my main.cpp is there. Now just compile and run.
From here, if I want to, I can use git and setup a new repository for my project. Infact, I
could do anything I could do if I was using linux on a virtual machine or its own
installation in the hard drive. I’m even able to ssh into edoras to work with a class
account.
Note: One of the major drawbacks to developing on your local machine is not using the
same compiler version as the one edoras uses. Look HERE for the proper compiler
version (Look under the version column) for whatever you’re trying to use.
Yes, you can EASILY change your compiler version through linux. I just followed those
steps in my WSL terminal.
Get started with WSL: h ttps://docs.microsoft.com/en-us/windows/wsl/install-win10