Reddit Reddit reviews Problem Solving with C++ (10th Edition)

We found 2 Reddit comments about Problem Solving with C++ (10th Edition). Here are the top ones, ranked by their Reddit score.

Business & Money
Books
Exports & Imports Economics
International Business & Investing
Problem Solving with C++ (10th Edition)
code included, digital access, great condition
Check price on Amazon

2 Reddit comments about Problem Solving with C++ (10th Edition):

u/Sodahpaop · 1 pointr/ebooksclub

[Request] Problem Solving with C++ 10e
ISBN: 9780134448282
https://www.amazon.com/Problem-Solving-10th-Walter-Savitch/dp/0134448286

u/OwThatHertz · 1 pointr/cpp_questions

> Top tip; unless you've got huge linked-list or you've got big objects in the list (or they have expensive copy constructors), it's just as easy (for the programmer) and a lot faster to insert into a vector. In modern C++, you need a really good reason to use a linked list and a really good reason to use a dynamic array.

So... if I'm understanding correctly, the primary reason to use a linked list (insertion being easier) is to improve on the efficiency of a dynamic array, but a vector is more efficient than both, so should supersede them both unless there's a specific need (such as, perhaps, the low available storage of Arduino running on an ATTiny85 or something, in which the overhead of the vector class might pose a problem?) to use an array or linked list?

> Amongst some of the most respected parts of the C++ teaching community, teaching dynamic arrays before vectors is seen as a mistake. An unthinking leftover from thirty years ago when C++ was being learned and taught by C programmers. Now that you've seen it, don't forget it exists, but your standard container should be vector.

This doesn't surprise me. I've been reading that a lot of this exists in the teaching world. It's been a while since my instructors were in industry, but in fairness to them, almost all of the material comes from a couple of books that aren't the most intuitive and, from what I'm hearing, don't necessarily teach in the best way. Gotta love community colleges. ;-)