hello all im new here, as you all might notice. I 'm a was a Basic programmer for awile ( mostly used liberty basic) and now im moving on to C++. but I have a slight problem. Frist im using Dev c++ for the compiler. second, i would like to know how to ask a qustion. for example, lets say if they wanted to start a new game
and if they ether typed Y or N they would get results. Y would bring them to the game and N would shut down the window.
any help would be great. thank you.
I think you first need to buy a book and learn the language. Teach Yourself C in 24 Hours (or something like that) is a good start. There are many other books equally good too. I'm certain you didn't learn to drive a car by first drivng in a world speed race such as Indianopolis 500. You don't want to learn c programming either by jumping in the middle of some difficult problem (difficult for newbes). Start at the beginning and learn it right the first time. In time you will be able to answer your question yourself without help, then pat yourself on the back for a job well done.
Thanks. by any chance u know how much the book costs?
go to your local book store or see online at www.amazon.com. The price all depends on the book and what country your live in. Books in USA generally cost more than in other nations. You might also get a free online e-book, but I don't remember where. google for ebooks and you will probably find it.
I agree with Salem's first book (haven't read the second). I took C++ in college with a terrible book, and now have to re-learn everything and undo all of the bad habits I learned from that book. Accelerated C++ is a great book to learn from. I haven't finished it yet, but so far I've learned quite a bit, and have a good grasp on what it's gone over so far. It includes exercises at the end of the chapters, too. They might feel too much like extra homework, but it's worth it!
BTW, if you are taking a class, and the teacher is using An introduction to C++ by Diane Zak, punch them.
As hard as you can.
Disclaimer: Decrypt does not actually endorse the physical abuse of teachers. Please do not try at home. Consult your doctor before beginning this, or any other exercise regimen.
u dn't really need to buy a book though. There are many good tutorials on the net!
and for books, Shaum's book are good and all the questions have full solutions..so it is really good for self-independent studies and u will learn most of what u shud know more quickly with it...
But as i said, try to get a good tutorial with which u are comfortable with, then consider buying a good book for supplements!
programming with C++, John R.Hubbard- Shaum's Outlines
Thanks for the info. some one let me borrow How to Program C++ by Deitel & Deitel second Edition. so far its a decent book. any reviews you all might have on this book?
You may not need to buy a book.. but $40 will save you someodd 500-1000 extra hours while learning C++. All the time being confused, asking questions, forgetting vocabulary, going back to check if you're right about something, and looking for a reference.. are well worth the money. The tutorials are okay, but nothing compared to a good C++ book.. I regret avoiding a book until after reading 5 tutorials.
I recommend http://www.acceleratedcpp.com/ too.
Gardul, read amazon.com: http://www.amazon.com/exec/obidos/tg...books&n=507846
As the descriptions say.. looks a little too comprehensive for an introduction to C++. I'd rather learn the concepts and practice it a bit, but not butcher it and read 1000 lines of code o.o
However, I always recommend getting a book thats comprehensive and full of vocabulary after learning the basic concepts, usually I suggest C++ Primer Plus (5th ed.), but this looks like a good replacement.
You may not necessarily agree with the review comments, but at least it provides some calibration against what you expect from a book, and perhaps gets you to a shorter list to consider further.