it's been a while since I think about starting to programming in C and after that to learn programming in C# and I search a lot on google but couldn't find a good guide to start learning base programming in C .However I found that Eclipe integrates very good with Ubuntu and it's a good programming environment for starting to program in C but somebody can give please some links with guides or tell me where can I find the bases for starting to program in C ,and I mean good base because I found a lot of incomplete guides over google ? And if I don't ask to much please give some tips of how to start and how to use Eclipse.Every help will be welcome ,thanks.
closed as off topic by hexafraction, mikewhatever, Mik, dobey, Tachyons Oct 23 '12 at 3:21
Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
You do not need to complicate things with Eclipse and stuff if you want to learn C (which is also an interesting choice of a first programming language... while not discouraging you, I'm curious about your motives). I think it would be much more useful to learn how all the low-level bits (source code, compiler, headers, libraries, debugger, makefiles) fit together and then, if you want, to transition to an IDE.
From the Learn C the Hard Way book linked by Goddard:
You surely don't need Eclipse to write a "Hello, World" program in C. First install stuff needed to compile programs:
then open a text editor and type something like
save the file as
you'll find an executable file called
It prints "Hello, World". Magic! Now get a book on C and try to modify the program to do something interesting.
A good book to add to Sergey's answer is listed below. This is the recommended route to go for a fresh developer. The Ubuntu/Linux development world is bitter sweet. A big learning curve in my opinion, but once you learn it the world is open and free for the most part.
This is a good resource http://c.learncodethehardway.org/book/