saving . . . saved Installation has been deleted. Installation has been hidden .
Installation
Title
Question
Is it mandatory that we should work on "gcc" compiler only ?? can we use any other compiler like turbo c++?
Because even after trying to install two i am still getting an error message saying that


"C:\Users\91805>gcc -v
'gcc' is not recognized as an internal or external command,
operable program or batch file."




C-and-Cpp First-C-Program 00-01 min 0-10 sec 20-07-21, 10:44 a.m. 122012008@sastra.ac.in

Answers:

You will have to set correct gcc path in the environment variable.
1. Go to Control Panel → System and Security → System or right-click on This PC → Properties.
2. Click on Advanced system settings. It opens System Properties dialog box.
3. In System Properties window, under Advanced tab, click on “Environment Variables…” button. It opens the environment variables window.
4. In the Environment variable window under System variables select path variable and click on Edit. Make sure to set value in the System variable and not in the user variable.
5. Add gcc compiler path upto bin folder in the variable value as shown below and click OK.
6. Close all windows and open new command prompt and compile your program. Now it should compile your program without any error.
13-08-21, 2:17 p.m. hbammkanti


Log-in to answer to this question.