🌐
Reddit
reddit.com › r/c_programming › c in visual studio code
r/C_Programming on Reddit: C in Visual Studio Code
April 26, 2024 -

I want to practice C in Visual Studio Code (mac). I was already prompted to download a bunch of add ons for C and other languages such as CSS and HTML.

I wrote my code and tried to run the executable in the terminal but apparently I need to download the "command line developer tools" package. I had to stop myself because it requires a whopping 15.6 GB of disk space while the program itself is only 580 mb. How can this be if there are sandbox programs which you can code in on your browser? As far as I understood people have been coding in c since a hard drive of 512 mb was considered big...

🌐
Reddit
reddit.com › r/c_programming › c with visual studio code
r/C_Programming on Reddit: c With visual studio code
November 4, 2021 -

I am looking forward to learning as much as I can about c, before I move onto c# and c++, but I'm having trouble one running it in visual studio code.

I've installed the c plugin, and when I try and run it, I just get options for c++, and when I try and run it I get an error and a launch.json is installed. I just want the program to run and print hello world. Is there a simple way like installing python or is it more complex than that.

🌐
Reddit
reddit.com › r/vscode
r/vscode on Reddit: << Visual Studio Code and C/C++ >>
July 13, 2024 -

I see a lot of people trying to learn c/c++ using visual studio code and that is pretty neat! It's a fun language to learn and you can go far with it.

But you all need to stop thinking your problems are visual studio code related.

90% of the time, it's because you didn't bother to read the docs. You think you can just install vs code and the c++ extension and think you are ready to go.

Well you aren't.

You have some learning to do first.

Learn how environment variables work You need this for more than just coding. These, especially $PATH, are how your operating system knows where things are. So the big #1 thing you need to do is make sure your compiler has been added to your path.

Run gcc --version and if it works, awesome. If not, go back to step 1.

https://code.visualstudio.com/docs/cpp/config-mingw

If you have problems, post the tutorial you are using.

Learn how your compiler works.

Compilers are highly sophisticated pieces of software with lots of options and lots of ways to generate your programs.

Stage 1 - Compiling

This step turns your text files into object files that are linked together.

Stage 2 - Linking

This takes all your object files, system object files, and libraries, and bundles them together.

Stage 3 - Assembling

Turns your linked bundle into the final executable. This usually happens in stage 2 implicitly.

Stage 4 - Debugging

Run that thing.

LEARN HOW TO COMPILE BY HAND BEFORE LEARNING A BUILD SYSTEM LIKE MAKE

https://www3.ntu.edu.sg/home/ehchua/programming/cpp/gcc_make.html

But most importantly, read the manual. Your issues with gcc are not issues with visual studio code.

🌐
Reddit
reddit.com › r/c_programming › c not working in vs code. why??
r/C_Programming on Reddit: C not working in vs code. Why??
April 5, 2024 -

I followed 2 different tutorials and both resulted in the error message, “collect2.exe: error: ld returned 1 exit status”. I installed code runner, and a c/c++ extension. I downloaded mingw, gcc, gdb, and all of that crap I don’t understand and I keep getting the same thing. Yes I made sure to set the path. I didn’t miss a step in those tutorials and looked back over them. I tried closing vscode and saving it. Still the same error. I just want to learn another language but I can’t even do that because I can’t even get started. Why is this so dang difficult? Someone please help me.

🌐
Reddit
reddit.com › r/cpp › all visual studio code c/c++ features explained!
r/cpp on Reddit: ALL Visual Studio Code C/C++ Features EXPLAINED!
June 19, 2023 -

Hey everyone! My name is Tarik Brown and I am a software engineer at Microsoft who works on the C/C++ extension for VS Code. After looking online a bit I found there was no video that just broke down all of the C/C++ Language Productivity features that are actually supported in VS Code. If anyone is looking for a video that breaks down the niche language features for VS Code like Inlay Hints or Code Folding, check out this video and let me know what you think! https://youtu.be/z4-1SRW-z6A

Find elsewhere
🌐
Reddit
reddit.com › r/c_programming › guys who can explain me how to install c in vs code?
r/C_Programming on Reddit: guys who can explain me how to install C in VS code?
October 31, 2025 - C with VsCode, I want to learn C on visual code and I’m a noob, which extension have I to install, in order that my code works, and the steps to make it work, ty for your help ... Install VS Code In 3 Minutes! ... ALL Visual Studio Code C/C++ Features EXPLAINED!
🌐
Reddit
reddit.com › r/csharp › why do so many use vscode as opposed to vs
r/csharp on Reddit: Why do so many use VScode as opposed to VS
January 13, 2024 -

It seems like everyone is using VScode and I'd like to if its the 'Smarter' option but I find it too hard to set up and get going without some issue with getting the right things to make the code run. Ive tried to learn the differences but haven't heard anyone say why they pick one or the other. My perspective on regular vs is blind because I'm just a student but still am a bit lost when it comes to all of this.

Edits: It seems like everyone in my personal circle(youtube tutorials, teachers) pull it out and some here stay too it. Biased with my non proffesinal perspective but I do keep an eye on the Stack Overflow survay where its it was about equal percentage between the two in terms of use in the IDE space

🌐
Reddit
reddit.com › r/vscode › setting up vscode for c and c++
r/vscode on Reddit: Setting up vscode for C and C++
May 3, 2021 -

It almost took me half a day to just setup my vscode for C. Damn just setting up is more difficult than coding. If you are having the same problem just follow this tutorial, it's simple and straightforward : https://code.visualstudio.com/docs/languages/cpp

This will save you hours of time of seting up(Windows) for C and C++

If you get 'stdio library not included'(or json error) this is the best solution.

For python, If you install Python from python.org and extension that's enough.

Just thought others gonna have same problem, so hope this helps.

🌐
Reddit
reddit.com › r/c_programming › c development using vscode
r/C_Programming on Reddit: C development using VScode
September 13, 2017 -

Im a beginner in programming and I d lime to use vscode for c programming the problem is I installed C/c++ plugin for vscode and i imstalled a compiler but vscode never runs my c code help..