I start learning C ++, picked up a textbook and bought it. Like the author writes, this is Shieldt C ++ - Beginner's Guide. But there are very few or no tasks in it according to the chapters. I want to know where to get training tasks to consolidate knowledge in practice. I really like the textbook and do not want to change it. I want after each chapter or a certain topic to consolidate what I read in practice. Please advise the sources from where you can take the job. You don’t like to come up with the options yourself, because I have a narrow imagination in this area and I don’t have enough experience and knowledge to undertake any project. Thanks in advance.
6 answers
#include <Лафоре.Р> \\ ООП 4-е издание. #include <Шылдт.Г> \\ Полный справочник 4-е издание. #include <Культин.Н> \\ В задачах и примерах 2-е издание. #include <Пахомов.Б> \\ Среда разработки MS Visual C++. #include <Страуструп.Б> \\ Любая книга не ошибетесь. using namespace std;
If you so want to do all sorts of tasks in chapters in C ++, then I advise you to purchase the C ++ training manual for universities. I saw a couple of these from different universities - they usually have a minimum of theory and then about a dozen tasks. If you don’t have one in your university, go to another, personally, in Minsk, most universities (even if not everyone) have their own point of sale for various training manuals. And there are such manuals a penny - it turns out cheap and serdino (in the first couple). And if this is not relevant for you - as an option, search Google for programming problems and select the one you like.
Good day.
I started to learn C ++ by Laforê - OOP in C ++. It is written simply and after each chapter there are ~ 10 exercises. Try the exercises from this book.
My advice to you, at first just read the entire tutorial and try to execute code samples from there. If you are just starting to learn C ++, this will be enough for you and I don’t think that you will understand everything right away. After reading this tutorial, go to the various forums in the internet in the beginners section and help solve various simple tasks. Then I would advise you to read Scott Meyer he has 3 books: Effective C ++, More Effective C ++ and Eeffective STL. Duck here read the first book, then read Straustrup C ++, and then More Effective C ++ and Effective STL. For the next 3-4 months this will be enough for you. Do not need much to rest on the problem now. It will be enough those that are listed in the books. If you really want to solve, that is just a wonderful book "Carrano FM, Prichard J. Data Abstraction and Problem Solving in C ++. Walls and Mirrors". It's just MASS of tasks in C ++, there are a lot of tasks, some of them are sorted out (5%), the others themselves. So go ahead.
- I teach programming at the university, but the quality is poor. I decided to start from scratch myself. Thank you for your advice. I looked at the book that you advised, so far it is too early for me. I have not dealt with algorithms and data structures yet. Therefore, I ask you to advise something else as an additional book of problems to the textbook, because in Schildt there are absolutely no such things. Yes, I decided to read the entire tutorial, to understand the basic syntax. But still knowing my brain and how I memorize information, I need to complete the tasks after reading each chapter. - arion
- And what does "execute code samples from the textbook" mean? - arion
- Hmm ... maybe we are looking at different Schildt textbooks. Open page 475, this is called: APPENDIX B. ANSWERS TO QUESTIONS AND SOLUTIONS OF EXERCISES, there are given solutions to the problems that are given when reading chapters. Those. read the chapter at the end of it are given puzzles. You decide and then check yourself. In my opinion the perfect scheme. - G71
- I think these tasks will last you a long time. There is also a book by the author Dattle, How to Program in C ++, I read it, but for some reason I don’t like it. You can see, read. - G71
- I learn in practice. Read the same tutorial. Of course, I did not understand everything and did not remember it, but I am gradually mastering it. - Jakeroid
A friend find on the Internet the book Abrahamian M.E. '1000 programming tasks'. I decided on FORTRAN, everything is simple as the decisions grow, the complexity increases. Can you practice at the Olympiad)
Here: Project Euler quite a lot of interesting tasks. Solve them for one and fix the language.