0
How do I download a compiler in vs code?
I'm trying to download a compiler in vs code since 1 week but still I'm unable to... My hello world code isn't getting compiled,
25 Answers
+ 2
download mingw compiler and set environment variable path and check via command in terminal is it showing version or not if yes then it means u have added write path then try to compile your code
+ 2
https://sourceforge.net/projects/mingw/ or you can refer YouTube tutorials for guidance
+ 2
Which programming language do you want to write the code in?
+ 2
C++, I'm starting to learn it
+ 2
and what computer do you work with?
+ 2
An HP laptop with i3😞
+ 2
Visual C++
+ 2
You can download the extension in the vs code. It allows to compile any programming language. It named "C/C++ Compile Run.
+ 1
Yeah can you pleeeeeaseeeee provide me the link for it, I'll be very grateful💕
+ 1
I'll back soon, and give you a link. Wait))
0
Thanks
0
Download minGW and configure your PATH so you can use it through the terminal in VS Code.
Since you're on Windows, you may also want to consider downloading Visual Studio (which, despite the similar name, is much more than a text editor that VS Code is), especially if you're into developing large projects specifically for the Windows platform. Visual Studio is a full-fledged IDE with editing tools, a compiler, debugging and performance analysis tools.
0
See this vid:
https://youtu.be/jvg4VtYEhKU
0
Thanks guys it worked! You're all awesome!!
But on my terminal there's a problem that it couldn't find gcc, should I look into it?
0
DOWNLOAD CODE RUNNER AND THEN DOWNLOAD C++ EXTENSION
GO TO SETTING IN VS CODE FIND RUN IN TERMINAL AND ALLOW THAT
0
WRITE gcc -- version for c
g++ -- version for c++
0
Zorain Kalu r u using windows of yes then u need to set environment variable path
0
I've did that according the video by the animator but on terminal there is a problem''
0
You deleted your previous compiler