Covers how to do the following under Linux (Ubuntu): - Install G++ and GDB - Install VS Code - Open a workspace for multiple activities (labs / assignments) - Compile and run from within VS Code
Dr. Fraser. Thank you for what you are doing. I am 81 years old. I have, for many years, wanted to learn some basics about programming. I shall be following your site.
I can't thank you enough for this. I've spent about 20 hours trying to get c++ to compile and run on vscode linux. Now it finally works. Thank you sooo much for this
Thank you very much! Following these instructions, I could easily get the C++ compiler (g++) running in my existing VS Code that I had installed a few weeks ago to use PlatformIO. 🙂 As I am new to VS Code and therefore not familiar yet with how the use the different extensions, I appreciate especially the valuable information you provided regarding starting the IDE from the command line! This allows me to simply start the software from either a folder containing PlatformIO projects or a folder that I am using for the C++ stuff.🙂
Another person thanking you here. I have been away a couple years from trying to get back into coding. This saved me a lot of time to get started with VS Code in Linux.
Sir, I watched all your videos. There's no particular tutorial on RU-vid about setting up an IDE or Editor for programming in Assembly. Every CS student has to go through assembly programming. I hope you'd make a tutorial soon
mine just opens an empty json without anything inside except for my theme. the little suggestion bar doesn't do after i select GDB/LLDB just opens the empty json file in settings.json
if you still have this problem it's probably because you're in the wrong json file. You need to switch to the configuration json instead of the settings.json
hello, this tutorial is amazing. But I have an issue regarding the installation of classic code. I have a Mac of which the architecture is M1, and therefore it is giving the error: snap "code" is not available on stable for this architucture (arm64) but exists on other architectures (amd64) what should I do??
Only thing that is different on my system(linux mint) is that the "[1] + done" is on the same line(no spacing between) as the string i printed out. Would like to change that.
Setting the environment doesn't work for me, all it does it open a .json settings file and then when i try to run it again it does the same thing all over.
I have a permissions issue. My .c file compile/build but when I run them they all say permission denied. This is what shows in the xterm that pops up. Even after I set the chmod +x or even 788 I still get this. What do I need to do? It does this whether in sh, bash, or csh
Just a little correction, installing snap alone didn't work because it said " sudo: snap: command not found" It worked after installing snapd after it.
Hi Brian, thanks for this super helpful video. Just a problem I'm facing: I'm having to choose the environment (g++) every time I hit F5 not sure why? Any suggestions? thanks again!!
When I run C++ code to compile, my system freezes for a bit before I see any output in the terminal. After the compilation, my system(the VM image I'm using) ends up very laggy. I'll find a fix for this, but seems like it's an issue with the RAM and/or CPU.
for some reason my pc download "lunch.json" configuration empty, so i had to write the configuration from you in 7:57. it works now but i don't know why that happened. i am using pop os