Thinking in C++, Volume 2: Practical Programming

By Bruce Eckel

The lengthy awaited sequel to the hugely winning pondering in C++. extra insurance of complex subject matters expert builders needs to grasp.

  • Emphasis on complex trying out innovations to provide optimized errors loose code.
  • extensive assurance of STL with genuine global reusable code examples.
  • easy brief routines that simplify advanced programming exercises.
  • either authors are hugely revered and well known.

Show description

Quick preview of Thinking in C++, Volume 2: Practical Programming PDF

Best Programming books

Joe Celko's SQL for Smarties: Advanced SQL Programming Third Edition (The Morgan Kaufmann Series in Data Management Systems)

SQL for Smarties was once hailed because the first e-book dedicated explicitly to the complex thoughts had to remodel an skilled SQL programmer into a professional. Now, 10 years later and within the 3rd variation, this vintage nonetheless reigns excellent because the ebook written by way of an SQL grasp that teaches destiny SQL masters.

Designing Audio Effect Plug-Ins in C++: With Digital Audio Signal Processing Theory

Not only one other theory-heavy electronic sign processing e-book, nor one other uninteresting build-a-generic-database programming e-book, Designing Audio influence Plug-Ins in C++ provides every little thing you every thing you want to be aware of to do exactly that, together with absolutely labored, downloadable code for dozens audio impression plug-ins and essentially provided algorithms.

Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)

“Every C++ expert wishes a replica of potent C++. it really is an absolute must-read for someone considering doing critical C++ improvement. If you’ve by no means learn potent C++ and also you imagine you recognize every little thing approximately C++, re-examine. ”— Steve Schirripa, software program Engineer, Google “C++ and the C++ neighborhood have grown up within the final fifteen years, and the 3rd variation of potent C++ displays this.

Cocoa Design Patterns

“Next time a few child indicates up at my door requesting a code evaluate, this can be the e-book that i'm going to throw at him. ”   –Aaron Hillegass, founding father of immense Nerd Ranch, Inc. , and writer of Cocoa Programming for Mac OS X   Unlocking the secrets and techniques of Cocoa and Its Object-Oriented Frameworks   Mac and iPhone builders are usually crushed via the breadth and class of the Cocoa frameworks.

Additional info for Thinking in C++, Volume 2: Practical Programming

Show sample text content

226 vector.................................. 230 Associative packing containers ............. 232 turbines and fillers for associative bins The magic of maps.......................... 239 Multimaps and replica keys ......... 244 Multisets ......................................... 247 236 Combining STL bins ...... 250 cleansing up bins of pointers253 developing your personal bins .. 255 Freely-available STL extensions257 Summary.................................. 259 routines .................................. 260 five: STL Algorithms 263 functionality objects....................... 263 type of functionality items .... 264 automated construction of functionality objects265 SGI extensions ................................ 279 A catalog of STL algorithms.... 285 help instruments for instance creation.. 287 Filling & producing ........................ 291 Counting ......................................... 293 Manipulating sequences .................. 294 looking & replacing..................... 299 evaluating levels ........................... 305 removal elements......................... 308 Sorting and operations on taken care of ranges311 Heap operations .............................. 322 using an operation to every aspect in a variety 323 Numeric algorithms......................... 331 basic utilities............................... 334 developing your personal STL-style algorithms Summary.................................. 337 routines .................................. 337 half 2: complex issues 341 6: a number of inheritance 342 336 standpoint ............................... 342 replica subobjects ................ 344 Ambiguous upcasting............... 345 digital base classes.................. 346 bankruptcy 2: Hiding the Implementation nine The "most derived" classification and digital base initialization "Tying off" digital bases with a default 349 348 Overhead.................................. 351 Upcasting ................................. 352 endurance ...................................... 355 fending off MI............................. 362 Repairing an interface .............. 362 Summary.................................. 367 workouts .................................. 368 7: Exception dealing with 369 errors dealing with in C .................. 369 Throwing an exception ............ 372 Catching an exception.............. 373 The try out block .................................. 373 Exception handlers.......................... 373 The exception specification............. 374 higher exception specifications?...... 377 Catching any exception ................... 377 Rethrowing an exception................. 378 Uncaught exceptions ....................... 378 Function-level attempt blocks................. 380 cleansing up .............................. 380 Constructors ............................. 384 Making every little thing an object........... 386 Exception matching ................. 388 general exceptions ................. 390 Programming with exceptions . 391 while to prevent exceptions ...............

Download PDF sample

Rated 4.92 of 5 – based on 47 votes