开发者

Learn C for programmers [closed]

开发者 https://www.devze.com 2023-01-30 08:54 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 开发者_运维百科

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

I would like to learn how to work with C,

The things I have problems with are compilation and makefiles, not so much the C syntax. Most books deal mostly with the language, but what I'm looking for is more the other parts. What IDE and compiler do I use, and how do I use these.

Thank you very much!


I would recommend gcc for the compiler and just a normal text editor for the ide. Compilation and working with makefiles is relatively simple, you could learn all you want by just googling it. I started out with vi and gcc. Now I use eclipse, netbeans, and gedit for when I am using c/c++.


If you are looking at strictly C, than there is nothing probably better on a nix system than Vim and Make.

Programming isn't always easy. Struggle with it and learn.

If you don't mind more C++ than I would recommend the following:

I have also used Code::Blocks which is a free open source IDE available for *nix systems.

On Windows just use Visual C++ Express which is also free.


Both Eclipse and Netbeans have functionality to develop and build C programs.

There's lots of tutorials e.g. Getting Started With the NetBeans C/C++


Much depends of the OS you actually use to compile. Really IDE and Makefiles are not C related and there is books about them. I would suggest to try a minimalist environment (any text editor and compiling from command line) to understand what is under the hood, then go for a full featured IDE.


Use gcc, write a Makefile for every project you make (even a small hello world program), and use gdb to debug. As for editing code, use whatever you enjoy typing in.

0

精彩评论

暂无评论...
验证码 换一张
取 消