Pelles C forum

C language => Beginner questions => Topic started by: aegirthor on April 28, 2015, 07:10:43 PM

Title: How to compile wit Pelles C
Post by: aegirthor on April 28, 2015, 07:10:43 PM
I´m going through an article on howstuffworks.com and going through the steps of learning the basics of C and my compile command doesn´t seem to work because they use a different compiler in the article

In the article you go into command prompt and type "gcc samp.c -o samp.exe". If I do that with this compiler I just installed it just says "gcc is not recognized as an internal or external command, operable program or batch file"

I tried replacing "gcc" with "c" or "make" but that doesn´t work eiter. Needless to say I don´t know anything about programming so any tips are helpful here

Thanks in advance !
Title: Re: How to compile wit Pelles C
Post by: Bitbeisser on April 29, 2015, 12:14:42 AM
Use the IDE! Seriously...

And if you still want the use the command line compiler, just use the online help, lookup "command line compiler", which will show you all the options for "cc" etc...  ;)

Ralf