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
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
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.
Login to add comment