fantasywars wrote: > I am a new C++ programmer, I use Bloodsheds Dev-C++ compiler and > library and was looking for some help. I have goten a book called Sams > Teach Yourself C++, but I am such an impatiant brat and when it comes > to learning I try to learn it all at once. So I came here to try and > get a little extra help in the feild of programming. For those that > know the book I am talking about I cant seem to pull myself out of day > 7... I have been stuck there for about a mounth now, but I have been > swamped lately with school and work so I haven't had the time to > dedicate myself to read it.
Surprisingly enough, I don't have that book. Chapter 7 appears (according to Amazon) to be about while, do-while, and goto...with switch statements thrown in at the end (like an afterthought - I love those...the author had no better spot to stick that in at). Programming requires focus on an attainable goal. Start small and work your way to bigger programs. You should read several C++ books. The Teach Yourself books are are, IMO, a good starting point, but not a complete solution. I offer a book to c-prog members (free download in the Files section of c-prog) I've written called Safe C++ Design Principles that is designed to be read alongside what you are learning now. It is sort of a supplement to what you are learning but offers real, down-to-earth industry-level practice, expertise, and knowledge on how to write software. You won't find another book like Safe C++ Design Principles anywhere else. Take mathematics, for instance. Most students get taught math and told they will use it later in life but aren't given actual examples of math in action. As a result, students don't learn the concepts because they see no future use for them for it (why learn something if it isn't apparent it will be useful?). I know the same thing is true for programming: If you can't see how while loops are practical, then you won't learn it. This is where Safe C++ Design Principles (the book) comes in. Want to see a while loop in action? The book has it. Real code from my source code base I actually use in my professionally developed software (e.g. VerifyMyPC, MyUpdate Toolkit). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.5 Change tracking and management tool. Reduce tech. support times from 2 hours to 5 minutes. http://www.CubicleSoft.com/VerifyMyPC/
