old user <roomwanted11@...> writes:
> Hello:
> I have some basic questions.I want to learn C language. Mingw is installed in my computer.
>
> But how can I begin?
>
> For example, I want to output "Hello", I know the code.
>
>
> Should I install some other software(Cygwin,...)?
> How to edit and compile the c. file?
>
> Thank you very much for your help!
>
> A new friend
>
To write C code you need a text editor and a compiler.
The text editor may be notepad, or something fancy like emacs (which I
have been using for the past 20 years).
When your code editor get really fancy, it's called an IDE (Integrated
Development Environment). This will allow you to do things like call
the compiler from a menu entry, and other fancy things.
So pick an editor to edit text.
Then use a compiler to compile it. gcc is free, and very good and
comes with MinGW. So use that. Do a "man gcc" to see all the things
you can do with it.
Good luck!
Ed
|