Containers Item 1. Choose your containers with care Item 2. Beware the illusion of container-independent code Item 3. Make copying cheap and correct for objects in containers Item 4. Call empty instead of checking size() against zero Item 5. Prefer range member functions to their single-element counterparts Item 6. Be alert for C++'s most vexing parse Item 7. When using containers of newed pointers, remember to |
|
Read more about this free ebooks:Effective STL:50 Specific Ways to Improve Your Use of the Standard Template Library
|
C++ is the primary language used in game development; however, game programming has a unique set of challenges, which general application development techniques and recommendations don't apply to. Written to address this issue, C++ for Game Programmers provides practical suggestions for what C++ features to use in game development and why. Many of the misconceptions of C++ are clarified, and programmers learn the most effective methods for using the language to create games. This is primarily a ebook about ideas and concepts: it is not just a source of C++ code to use in your game project. Instead
|
|
Read more about this free ebooks:C++ For Game Programmers
|
There are several objectives in developing Computing for Numerical Methods Using Visual C++. First, no ebooks on the market today discuss the visual solutions to problems in numerical methods using C++. There are similar books using software packages such as Matlab, Maple, and Mathematica. These software packages are not really primitive programming languages. They have been developed to hide the programming details and to implement the solution as a black box. In other words, software packages do not really teach the mathematical concepts and principles in solving a problem. |
|
Read more about this free ebooks:Computing for Numerical Methods Using Visual C++
|
Chapter 1. Accustoming Yourself to C++ Item 1: View C++ as a federation of languages Item 2: Prefer consts, enums, and inlines to #defines Item 3: Use const whenever possible Item 4: Make sure that objects are initialized before they're used Chapter 2. Constructors, Destructors, and Assignment Operators Item 5: Know what functions C++ silently writes and calls
|
|
Read more about this free ebooks:Effective C++ Third Edition 55 Specific Ways to Improve Your Programs and Designs
|
 Like many scientists and engineers, much of our work involves writing computer programs. Recently we have been writing those programs in C++. We think that our programs are better and that we can do better science and engineering with these programs because they are written in C++. We think you should try C++, and we wrote this ebook to help you get started. C++ is one of several new languages that use a programming style called object-oriented programming. |
|
Read more about this free ebooks:Scientific and Engineering C++
|