Index

A note on the digital index

A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.

C

C libraries, Errors When Using Standard C LibrariesErrors When Using Standard C Libraries, Conclusion
errors when using, Errors When Using Standard C LibrariesErrors When Using Standard C Libraries
functions from, Conclusion
C++ language, PrefacePreface, PrefacePreface, Where Do C++ Bugs Come From?Where Do C++ Bugs Come From?, Where Do C++ Bugs Come From?Where Do C++ Bugs Come From?
goals when writing code in, PrefacePreface
memory allocation in, Where Do C++ Bugs Come From?Where Do C++ Bugs Come From?
problems inherited from C, Where Do C++ Bugs Come From?Where Do C++ Bugs Come From?
why unsafe, PrefacePreface
calloc() function, Where Do C++ Bugs Come From?, Where Do C++ Bugs Come From?, Index Out of Bounds
cerr statement, Debug-On-Error Strategy
char type, The Proper Way to Handle Types
circular references, Memory Leaks
classes, The Proper Way to Handle TypesThe Proper Way to Handle Types, Initialized Numbers (int, double, etc.)Initialized Numbers (int, double, etc.), General Testing PrinciplesGeneral Testing Principles
multiple, testing, General Testing PrinciplesGeneral Testing Principles
using for class data members, Initialized Numbers (int, double, etc.)Initialized Numbers (int, double, etc.)
varying for different data types, The Proper Way to Handle TypesThe Proper Way to Handle Types
code in destructors, avoiding, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
CompareTo() function, How to Write Consistent Comparison Operators, Conclusion
comparison operators, consistent, How to Write Consistent Comparison OperatorsHow to Write Consistent Comparison Operators
compiling, catching bugs when, Why the Compiler Is Your Best Place to Catch BugsWhy the Compiler Is Your Best Place to Catch Bugs
const pointer, Memory Leaks, Memory Leaks, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Conclusion
conventions for naming in code, Naming ConventionsNaming Conventions
conversion operators, The Proper Way to Handle TypesThe Proper Way to Handle Types
copy constructors, avoiding, Copy Constructors and Assignment OperatorsCopy Constructors and Assignment Operators
core dumps, Dereferencing NULL Pointers, Errors When Using Standard C LibrariesErrors When Using Standard C Libraries
crashes, Dereferencing NULL Pointers, Errors When Using Standard C LibrariesErrors When Using Standard C Libraries

D

Date class, The Proper Way to Handle Types, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly
debugging, Where Do C++ Bugs Come From?, Where Do C++ Bugs Come From?, Debug-On-Error StrategyDebug-On-Error Strategy, Making Your Code Debugger-FriendlyMaking Your Code Debugger-Friendly
(see also errors)
(see also sanity checks)
and code writing, Making Your Code Debugger-FriendlyMaking Your Code Debugger-Friendly
debug-on-error strategy, Debug-On-Error StrategyDebug-On-Error Strategy
delete operator, Where Do C++ Bugs Come From?, Where Do C++ Bugs Come From?, Dynamic Arrays, Static Arrays, Static Arrays, Static Arrays, Multidimensional Arrays, Memory Leaks, Memory Leaks, Memory Leaks, Scoped Pointers, Enforcing Ownership with Smart Pointers, Enforcing Ownership with Smart Pointers, Conclusion
delete [] (delete with brackets), Where Do C++ Bugs Come From?, Memory Leaks, Scoped Pointers
dereferencing NULL pointers, Dereferencing NULL PointersDereferencing NULL Pointers
Derived() destructor, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays
destructors, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
avoiding code in, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
Derived() destructor, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays
empty, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
double type, The Proper Way to Handle Types, Pointer Arithmetic, Initialized Numbers (int, double, etc.), Initialized Numbers (int, double, etc.), Initialized Numbers (int, double, etc.), Uninitialized Boolean, Uninitialized Boolean, Uninitialized Boolean, Conclusion, Conclusion
dynamic arrays, Dynamic ArraysDynamic Arrays

E

empty destructors, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
end() method, Static Arrays
enum type, The Proper Way to Handle TypesThe Proper Way to Handle Types, What to Do When We Encounter an Error at Runtime, Conclusion
errors, Where Do C++ Bugs Come From?, Why the Compiler Is Your Best Place to Catch BugsWhy the Compiler Is Your Best Place to Catch Bugs, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime, Dynamic ArraysDynamic Arrays, Static ArraysStatic Arrays, Static Arrays, Multidimensional ArraysMultidimensional Arrays, Errors When Using Standard C LibrariesErrors When Using Standard C Libraries, Debug-On-Error StrategyDebug-On-Error Strategy, Making Your Code Debugger-FriendlyMaking Your Code Debugger-Friendly
(see also sanity checks)
at runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime
catching at compile, Why the Compiler Is Your Best Place to Catch BugsWhy the Compiler Is Your Best Place to Catch Bugs, The Proper Way to Handle TypesThe Proper Way to Handle Types
debugging, Debug-On-Error StrategyDebug-On-Error Strategy, Making Your Code Debugger-FriendlyMaking Your Code Debugger-Friendly
and code writing, Making Your Code Debugger-FriendlyMaking Your Code Debugger-Friendly
debug-on-error strategy, Debug-On-Error StrategyDebug-On-Error Strategy
handling, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime
index-out-of-bounds, Dynamic ArraysDynamic Arrays, Static ArraysStatic Arrays, Static Arrays, Multidimensional ArraysMultidimensional Arrays
and dynamic arrays, Dynamic ArraysDynamic Arrays
and multidimensional arrays, Multidimensional ArraysMultidimensional Arrays
and static arrays, Static ArraysStatic Arrays
diagnosis of by Visual Studio, Static Arrays
types of, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime
when using C libraries, Errors When Using Standard C LibrariesErrors When Using Standard C Libraries
with types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types
different classes for different data types, The Proper Way to Handle TypesThe Proper Way to Handle Types
implicit type conversions, The Proper Way to Handle TypesThe Proper Way to Handle Types
using enum to create new types, The Proper Way to Handle TypesThe Proper Way to Handle Types
explicit keyword, The Proper Way to Handle Types, The Proper Way to Handle Types, The Proper Way to Handle Types, The Proper Way to Handle Types, Initialized Numbers (int, double, etc.), Conclusion

P

parameters, passing to functions, Uninitialized BooleanUninitialized Boolean
permanent macros, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime
pointers, Pointer ArithmeticPointer Arithmetic, Invalid Pointers, References, and IteratorsInvalid Pointers, References, and Iterators, Memory LeaksMemory Leaks, Reference Counting PointersReference Counting Pointers, Scoped PointersScoped Pointers, Enforcing Ownership with Smart PointersEnforcing Ownership with Smart Pointers, Dereferencing NULL PointersDereferencing NULL Pointers, Dereferencing NULL PointersDereferencing NULL Pointers, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
invalid, Invalid Pointers, References, and IteratorsInvalid Pointers, References, and Iterators
NULL pointers, dereferencing, Dereferencing NULL PointersDereferencing NULL Pointers
pointer arithmetic, Pointer ArithmeticPointer Arithmetic
reference counting pointers, Reference Counting PointersReference Counting Pointers
scoped pointers, Scoped PointersScoped Pointers
semi-smart pointers, Dereferencing NULL PointersDereferencing NULL Pointers
smart pointers, Memory LeaksMemory Leaks, Enforcing Ownership with Smart PointersEnforcing Ownership with Smart Pointers, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
porting from C, Where Do C++ Bugs Come From?Where Do C++ Bugs Come From?
program crashes, Dereferencing NULL Pointers, Errors When Using Standard C LibrariesErrors When Using Standard C Libraries
Ptr<T> class, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Conclusion

S

sanity checks, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime, Dynamic ArraysDynamic Arrays, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors, Debug-On-Error Strategy
defined, What to Do When We Encounter an Error at Runtime
in debug mode, Debug-On-Error Strategy
leaving active in code, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime
speeding up, Dynamic ArraysDynamic Arrays
using smart pointers, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
using temporary vs. permanent macros with, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime
when to write, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime
scoped pointers, Scoped PointersScoped Pointers
scpp::array class, Naming Conventions, Multidimensional Arrays, Conclusion
scpp::matrix class, Naming Conventions, Multidimensional Arrays, Conclusion
scpp::vector class, Naming Conventions, Naming Conventions, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays
scpp::vector::operator[], Dynamic Arrays
scpp:vector class, Multidimensional Arrays, Conclusion
scpp_array.hpp, Source Code for the file scpp_array.hppSource Code for the file scpp_array.hpp
SCPP_ASSERT macro, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at Runtime
scpp_assert.cpp, Source Code for the files scpp_assert.hpp and scpp_assert.cppSource Code for the files scpp_assert.hpp and scpp_assert.cpp
scpp_assert.hpp, Source Code for the files scpp_assert.hpp and scpp_assert.cppSource Code for the files scpp_assert.hpp and scpp_assert.cpp
SCPP_AssertErrorHandler() function, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at Runtime
scpp_date.cpp, Source Code for the file scpp_date.hpp and scpp_date.cppSource Code for the file scpp_date.hpp and scpp_date.cpp
scpp_date.hpp, Source Code for the file scpp_date.hpp and scpp_date.cppSource Code for the file scpp_date.hpp and scpp_date.cpp
SCPP_DEFINE_COMPARISON_OPERATORS macro, How to Write Consistent Comparison Operators, How to Write Consistent Comparison Operators, Conclusion
scpp_matrix.hpp, Source Code for the file scpp_matrix.hppSource Code for the file scpp_matrix.hpp
scpp_ptr.hpp, Source Code for the file scpp_ptr.hppSource Code for the file scpp_ptr.hpp
scpp_refcountptr.hpp, Source Code for the file scpp_refcountptr.hppSource Code for the file scpp_refcountptr.hpp
scpp_scopedptr.hpp, Source Code for the file scpp_scopedptr.hppSource Code for the file scpp_scopedptr.hpp
SCPP_TEST_ASSERT macro, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at Runtime, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Static Arrays, Debug-On-Error Strategy, Debug-On-Error Strategy
SCPP_TEST_ASSERT_INDEX_OUT_OF_BOUNDS macro, Dynamic Arrays, Dynamic Arrays
SCPP_TEST_ASSERT_ON macro, Dynamic Arrays
SCPP_THROW_EXCEPTION_ON_BUG macro, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at Runtime
scpp_types.hpp, Source Code for the file scpp_types.hppSource Code for the file scpp_types.hpp
scpp_vector.hpp, Source Code for the file scpp_vector.hppSource Code for the file scpp_vector.hpp
semi-smart pointers, Dereferencing NULL PointersDereferencing NULL Pointers
size() function, Errors When Using Standard C Libraries
smart pointers, Memory LeaksMemory Leaks, Enforcing Ownership with Smart PointersEnforcing Ownership with Smart Pointers, Avoid Writing Code in DestructorsAvoid Writing Code in Destructors
sprintf() function, Errors When Using Standard C Libraries
static arrays, Static ArraysStatic Arrays
std::ostringstream class, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime, Errors When Using Standard C Libraries, Conclusion
std::string class, The Proper Way to Handle Types, Initialized Numbers (int, double, etc.), Initialized Numbers (int, double, etc.), Errors When Using Standard C Libraries, Errors When Using Standard C Libraries, Conclusion
std::vector class, Naming Conventions, Naming Conventions, Dynamic Arrays, Dynamic Arrays, Dynamic Arrays, Multidimensional Arrays, Conclusion
STL containers, Invalid Pointers, References, and Iterators, Making Your Code Debugger-Friendly, Making Your Code Debugger-Friendly
strcat() function, Errors When Using Standard C Libraries, Errors When Using Standard C Libraries
strcpy() function, Errors When Using Standard C Libraries
string class, Conclusion (see std::string class)
strlen() function, Errors When Using Standard C Libraries, Errors When Using Standard C Libraries
strncat() function, Errors When Using Standard C Libraries, Errors When Using Standard C Libraries
Stroustrup, Bjarne, Where Do C++ Bugs Come From?

T

T* pointer, Multidimensional Arrays, Reference Counting Pointers, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Dereferencing NULL Pointers, Conclusion
template vector, Dynamic ArraysDynamic Arrays, Static ArraysStatic Arrays
temporary macros, What to Do When We Encounter an Error at Runtime, What to Do When We Encounter an Error at RuntimeWhat to Do When We Encounter an Error at Runtime
testing, principles for, General Testing PrinciplesGeneral Testing Principles
three-dimensional arrays, Multidimensional ArraysMultidimensional Arrays
throw statement, Debug-On-Error Strategy
Time class, The Proper Way to Handle Types, The Proper Way to Handle Types, The Proper Way to Handle Types, The Proper Way to Handle Types
try-catch statements, Memory Leaks
two-dimensional matrices, Multidimensional ArraysMultidimensional Arrays
types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, The Proper Way to Handle TypesThe Proper Way to Handle Types, Initialized Numbers (int, double, etc.)Initialized Numbers (int, double, etc.)
built-in, Initialized Numbers (int, double, etc.)Initialized Numbers (int, double, etc.)
different classes for different data types, The Proper Way to Handle TypesThe Proper Way to Handle Types
implicit type conversions, The Proper Way to Handle TypesThe Proper Way to Handle Types
using enum to create new types, The Proper Way to Handle TypesThe Proper Way to Handle Types
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.22.160