I am a beginning programmer who wants to learn C and general programming (flowcharts and so on), also I believe my logic is below the average requested to program, so I hope you will bear my silly questions.
Best regards and thanks.
I'm sure your questions won't be any more silly [more likely LESS silly] than the other ones posted here every day.
As long as you don't want US to do YOUR homework, we'll be fine with your questions.
Welcome to the forum, fsx! :D
I started learning to program in C about 4 months ago.
Don't worry about logic, that's like a muscle that will grow with your programming. You will find that using your logic to solve programming problems very rewarding and satisfying. There's nothing like working out an algorithm or loop with pencil and paper, then seeing it compile.
And don't worry about asking silly questions. Mats and the regulars all have the knowledge and experience to anwer pretty much any programming question you can think of.
But before you ask the question, be sure to first check out the FAQ and try the forum search. It is highly likely that your question may have been asked in the forum before, multiple times .
Cya around! :D
Hello Mats and thanks for the answer, no problem about homework, it's not really homework because I'm not studying in a school, I'm just a self-learner. I am starting with the K&R, which I find quite difficult. I would like to develop logic, so I am studying also Codewarrior - Principles of programming, which I also find to be quite challenging.
Originally Posted by matsp
And thanks also to Happyclown!
There are some good book recommendations in a sticky post. Read 'em, because K&R is more a reference than a tutorial.
I agree. K&R is aimed at someone with experience in another programming language, or with previous programming experience. It is very terse, and poorly organised as a teaching course.
Originally Posted by Brafil
You are better off using books tailored to newbies, like the Dummies or Teach Yourself series. They do have mistakes, but they are specifically designed with the newbie in mind. Their style(like hints, tips and reminders) and formatting make it easy(and fun) for the newbie to learn the basics. And they should contain lots of sample code, which is important.
Happy programming! :D
I don't agree. K&R is certainly terse, precise and to the point. But this is good! Programming is about as much "for Dummies" or "in 21 days" as airplane construction. The experience of having to spend an hour or so on a single page may seem distracting at first, but it helps to advance very quickly (although this may sound paradoxical at first glance).
Originally Posted by Brafil
Read and understand K&R and you're far more knowledgeable than, say, 90% of everyone else around here.
Torvalds (for once) makes a good point regarding the issue at hand:
"all right-thinking people know that (a) K&R are _right_ and (b) K&R are right."