Re: NQC programming guide
"Chris Phillips" <[email protected]> Thu, 7 Dec 2006 15:38:55 GMT
| Newsgroups | gmane.comp.hardware.lego.robotics |
|---|---|
| Organization | None |
| Message-ID | <[email protected]> |
In lugnet.robotics, Chris Phillips wrote: > In lugnet.robotics, linmix <[email protected]> wrote: >> Interesting! I never knew all those languages were from the same 'family'. >> >> Being a 'natural' language teacher I can see how knowing one helps to >> learn another related one, and I also appreciate the need for practice, >> practice and more practice. >> >> So now to reiterate part of my initial question: can anyone recommend a >> good resource for learning c/c++ ? >> I'm looking for something with plenty of examples and for a beginner >> with basically no knowledge (I've done a bit of bash scripting, but that >> hardly counts), but complete enough to teach me anything I might need in >> NQC. >> Online availability is a pro, but not a must. > > References for "classic" C programming are getting rather scarce, but the top > hit on google for "c++ tutorial", www.cplusplus.com looks like a good place to > start. It begins with the basics, and only gets into object-oriented > programming in later chapters. There are many other good links to be found > there as well: > > http://www.google.com/search?hl=en&q=C%2B%2B+tutorial > > You could also check Amazon or your local bookstore. A few years back, you > couldn't spill a half-caf moccachino in Barnes and Noble without getting coffee > all over a few dozen "Teach Yourself C In 21 Days" style of books. For > technical topics, any book published by O'Reilly Press is also highly > recommended. > > And if you really get stuck, just post a question or code snippet here, and > you're likely to get some help. Sorry for the self-reply, but I would be remiss if I didn't mention the all-time classic C reference, the book that literally defined the language and that I used so many years ago... The C Programming Language by Brian Kernighan and Dennis Ritchie, affectionately known as "K&R" to most software geeks. It is a very concise book that presents the language in an easily-digested tutorial format. http://www.amazon.com/C-Programming-Language-2nd/dp/0131103628/sr=8-1/qid=1165505680/ref=pd_bbs_1/103-8340077-2522228?ie=UTF8&s=books Hope this helps!