ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am a young computer enthusiast thirsty of learning more about C programming . However , I need some help finding resources .. sure .. google is a good tool but it doesn't guarantee that the info it provides can be taken for granted , and it's sometimes a hard to use tool .
Right now I am familiar with :
(besides operators , for , while etc.)
-> pointers
-> string manipulation
-> functions (creating of course)
-> structures, unions etc.
-> console i/o
-> file (binary, text .. I know that in UNIX everything is considered a file .. I'm referring to the "real" FILES) i/o
-> preprocessing
As you can see .. it's not much ..
I would like to really know more (a lot more) about it .. socket programming .. low level input output etc .. however .. all the books I can find treat only the items given above ..
If anyone could tell me .. as much resources they can think of .. it would be great .. (just one thing: they should be free and available online ..) . So I'm looking for tutorials, e books etc. Also , I would appreciate it if someone would give me a systematic plan of the things I should learn .. . Another thing that would help me would be suggestions of source code to read ..
And finally .. you can't learn the language without programming . I'm mostly looking for programming tutorials (tasks) like : "implement a program to do <this> and <that>" etc. .. mostly tasks that focus on building efficiency ..
.. if anyone would be willing to help with those .. it would be great ..
You may find it helpful to look at codes provided freely for books. Take a look at wrox.com, samspublishing.com, advancedlinuxprogramming.com.
There are also a lot about Linux low-level programming, available as HOWTOs, tutorials, or tips and tricks. Just make a Google search for one! (There are a lot available at tldp.org).
As you have gotten more familiar with C programming, it's a good idea to start looking at other ones open source application. It's kind of Hack! and is very interesting job. I love to do something with open source games .
At last (I advice as a grand father), not to try to learn every thing (mostly different and without any conceptual relations) about something like Linux. It's good to know programming, but there is no need to waste your time, learning emacs short-keys. Try to write programs efficiently and more and more rapidly.
krock: O'Reilly's Practical C Programming is a very good beginner's text that gets into mildly advanced C. It is largely geared to good style as you learn, but it is very helpful to start with and then you find documentation on individual parts.
Also, you can't go wrong with having the glibc manual handy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.