What to do if gcc is not working

Wendyam -  
letrancheur Posted messages 256 Status Membre -
I need help. I am a beginner in C programming. An error code appears when I use the "gcc" tool to run a program on cmd. What should I do?

2 réponses

NHenry Posted messages 2511 Registration date   Status Modérateur Last intervention   387
 
Provide more information?
because as it stands, we know nothing about your problem.

--
I mainly work in VB6 and VB.NET, with a bit of C#, but moderation often brings me to other languages.
In VB.NET, make sure to enable "Option Explicit" and "Option Strict."
1
letrancheur Posted messages 256 Status Membre 7
 
Hello,
If you're a beginner and you're on Windows, install Code::Blocks, it will help you a lot.
And it will save you the hassle of installing gcc.

Once you're a bit more experienced, you can either install a Linux VM and compile from there in the terminal.
Or link Code::Blocks' gcc to your terminal and compile directly from your terminal because Code::Blocks has assistance to help beginners. This is not always great because you might pick up bad habits.
0