saving . . . saved problem in compiling has been deleted. problem in compiling has been hidden .
problem in compiling
Title
Question
got the error on terminal as command 'gcc' not found


C-and-Cpp First-C-Program 06-07 min 30-40 sec 10-02-20, 3:05 p.m. mrunalgsm

Answers:

Please install gcc and gcc+ compiler as given in the below link :

https://spoken-tutorial.org/media/videos/43/C-and-Cpp-Installation-Sheet-English.pdf
10-02-20, 3:11 p.m. NirmalaVenkat
thanks
10-02-20, 3:36 p.m. mrunalgsm

Login to add comment


gcc -v
will help to give the details about gcc version installed
15-02-20, 11:19 a.m. renethajb


Pls install the latest stable version. 
15-02-20, 11:52 a.m. nancy


I think you have not added the environment variable. Please follow below steps and see if it works:
1. Windows 10 -> right click on This PC otherwise Right click on My Computer and goto properties.
2. Goto Advanced System Settings -> Environment Variables -> System Variables -> Double click "Path" 
3. New and Add the C:\MinGW\bin\ at the end and click on "Ok" (All the popups).
4. Open the command prompt and write 
gcc -v
5. Now, It should show the installed version.
01-05-20, 4:30 p.m. uzairaziz2004


Log-in to answer to this question.