0

Gcc where ?

Everytime i run a code in visual stedio it keep saying that gcc isnt recognised , what to do ?

7th Sep 2021, 1:56 AM
Shimaa
Shimaa - avatar
5 Respostas
+ 1
Well if you are running code in visual studio(IDE) then it should not be looking for gcc. You are most probably using VScode ( text editor ) and don't have a compiler installed on your machine to compile your source. Here is the doc to set up your vscode for C/C++ development 👇 https://code.visualstudio.com/docs/languages/cpp
7th Sep 2021, 2:07 AM
Arsenic
Arsenic - avatar
+ 1
Dark if gcc is installed in your system, then it would be the case where vscode is not able to find the compiler ( try updating your PATH variable with your compiler executable in it ) that doc should be covering almost every question you might encounter while setting up your editor for C/C++ development.
7th Sep 2021, 2:21 AM
Arsenic
Arsenic - avatar
+ 1
most Linux distros came with gcc/g++ pre installed. I wasn't able to use VScode in Windows . When I was trying to install the compiler, it gave me errors. But I liked VScode very much, so I learned Linux and switched to Ubuntu(A Linux distro) now I am using VScode easily.
7th Sep 2021, 5:03 AM
Mani_K_A
0
its already downloaded
7th Sep 2021, 2:16 AM
Shimaa
Shimaa - avatar
0
I cant do it right
7th Sep 2021, 2:44 AM
Shimaa
Shimaa - avatar