C++ FAQ
/ Topics beginning with 'B'
Recent changes - 11 changed FAQs.
In a list,
or in a chain,
or here:
[4.1],
[4.2],
[6.3],
[6.12],
[10.3],
[15.22],
[27.15],
[35.13],
[35.14],
[35.15],
[39.6].
Translated into 16 languages.
English,
Belorussian / Minsk,
Bosnian / Serbian / Croatian,
Bulgarian,
Chinese (GB, Mainland),
Chinese (Big5, Taiwan),
French,
German,
Greek,
Korean,
Polish,
Portuguese,
Romanian,
Russian,
Spanish,
Turkish.
Mirrored in 11 countries.
USA,
France,
Germany,
Ireland,
Israel,
Italy,
Poland,
Portugal,
Spain,
Taiwan,
U.K..
|
C++ FAQ topics beginning with 'B'
[ A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
]
- Backtracking ...
[5.3]
- Bad input, ignoring (input/output) ...
[15.3]
- Bad path; see Exceptions ...
[17.3],
[17.4]
- Bad programming practices ...
[6.15]
- Arrays ...
[16.17],
[17.11],
[21.5],
[34.1]
- Casting Derived** → Base** ...
[21.2]
- Casting Foo** → Foo const** ...
[18.17]
- Casting pointers ...
[16.25],
[18.17],
[21.2],
[23.12],
[27.11],
[30.2],
[30.3],
[37.5]
- char* (use a string-like class instead) ...
[13.6],
[17.11]
- Converting array-of-Derived → kind-of Array-of-Base ...
[21.4]
- Derived** → Base**, Casting ...
[21.2]
- Explicitly calling destructors (sometimes okay) ...
[11.10]
- Explicitly calling destructors on local objects ...
[11.5],
[11.6]
- Foo** → Foo const**, Casting ...
[18.17]
- Hiding inherited public features ...
[21.1],
[21.6],
[21.7],
[21.8],
[21.9],
[23.9]
- Macros ...
[9.5],
[29.11],
[30.3],
[39.4],
[39.5],
[39.6]
- Missing virtual on some base class dtors ...
[20.7]
- Mixing malloc() and delete ...
[16.3]
- Mixing new and free() ...
[16.3]
- Mixing new T[n] with delete p ...
[16.12],
[16.13],
[26.11]
- Mixing realloc() and new ...
[16.5]
- Passing array-of-Derived as array-of-Base ...
[21.4],
[21.5]
- Pointer casts ...
[16.25],
[18.17],
[21.2],
[23.12],
[27.11],
[30.2],
[30.3],
[37.5]
- Preprocessor ...
[29.8]
- Unnecessary global variables ...
[33.2],
[39.8]
- Unnecessary use of "dumb" pointers ...
[34.6]
- bad_alloc (see also under Exceptions) ...
[16.6],
[16.7]
- Bag of Apple vs. of Fruit ...
[21.3]
- Bang (!) operator ...
[29.13]
- Base class ...
[19.3]
- Basics (Const correctness) ...
[29.6]
- Basics of templates (see also under Templates) ...
[35.1]
- Beautifier, Code
- Behavior: Advertised vs. implemented ...
[21.11],
[21.12]
- Behavioral equivalence (see also Operator overloading) ...
[13.9]
- Beliefs, naive/wrong
- Always name numeric literals ...
[29.11]
- Friendship breaks encapsulation ...
[14.2]
- inline functions always improve performance ...
[9.3]
- Methods always better than friend-functions ...
[15.9]
- Multi-line macros simply use {...} ...
[39.5]
- Never use #define ...
[29.7]
- Never use multiple-inheritance ...
[25.2],
[25.3]
- One size fits all ...
[25.6]
- protected data is evil ...
[19.8]
- "Always" and "Never" rules ...
[23.3]
- "Evil" things should never be used ...
[6.15]
- Software has rules that always apply ...
[6.16],
[17.8],
[21.8],
[23.4],
[25.5]
- There exists a purely technical definition of "good" ...
[6.17]
- Token-pasting doesn't require two levels of macros ...
[39.6]
- Belorussian translation of this document ...
[2.3]
- Big Picture Issues ...
[6]
- Business-centricity vs. Techno-centricity ...
[6.5]
- C++ is a practical tool ...
[6.1]
- C++ is not a perfect tool ...
[6.2]
- Length of time needed to learn OO/C++ ...
[6.7]
- Size of the installed base ...
[6.6]
- Some advantages of Generic Programming ...
[6.4]
- Some advantages of OO ...
[6.3]
- Standardization of C++ ...
[6.12],
[6.13]
- Big Three, Law of ...
[16.17],
[22.5],
[27.10]
- Binary compatibility between vendors ...
[38.9]
- Binary format mechanics, Serialization and ...
[36.6]
- Binary format tradeoffs, Serialization and ...
[36.3]
- Binary mode (input/output) ...
[15.13]
- Binary mode for opening streams ...
[15.12]
- Binary mode for std::cin and std::cout ...
[15.13]
- Binary mode on MS-DOS (input/output) ...
[15.12]
- Bind Dynamically During Initialization Idiom ...
[23.6]
- Binding: Static vs. dynamic ...
[20.2],
[20.3],
[20.4]
- Bits per byte ...
[26.4],
[26.5],
[26.6]
- Bitwise (Concrete) state vs. Meaningwise (Abstract) state ...
[18.10],
[18.11]
- Bizarre syntax: use only when you must ...
[27.14]
- Bjarne Stroustrup's web site ...
[29.4]
- Bloat of code ...
[9.3]
- Book (see C++ FAQ Book) ...
[3]
- Books ...
[28]
- boolalpha ...
[35.8]
- Borland free C++ compiler ...
[38.1]
- Bosnian translation of this document ...
[2.4]
- Braces: whitespace standards ...
[29.10]
- Bridge pattern ...
[25.5]
- British Informatics Olympiad ...
[29.2]
- Broken mindset (see also under Exceptions) ...
[17.6],
[17.7]
- BTW (Acronym) ...
[5.1]
- Bugs, subtle ...
[6.15]
- Arrays ...
[16.17],
[17.11],
[21.5],
[34.1]
- Casting Derived** → Base** ...
[21.2]
- Casting Foo** → Foo const** ...
[18.17]
- Casting pointers ...
[16.25],
[18.17],
[21.2],
[23.12],
[27.11],
[30.2],
[30.3],
[37.5]
- char* (use a string-like class instead) ...
[13.6],
[17.11]
- Converting array-of-Derived → kind-of Array-of-Base ...
[21.4]
- Derived** → Base**, Casting ...
[21.2]
- Explicitly calling destructors (sometimes okay) ...
[11.10]
- Explicitly calling destructors on local objects ...
[11.5],
[11.6]
- Foo** → Foo const**, Casting ...
[18.17]
- Hiding inherited public features ...
[21.1],
[21.6],
[21.7],
[21.8],
[21.9],
[23.9]
- Macros ...
[9.5],
[29.11],
[30.3],
[39.4],
[39.5],
[39.6]
- Missing virtual on some base class dtors ...
[20.7]
- Mixing malloc() and delete ...
[16.3]
- Mixing new and free() ...
[16.3]
- Mixing new T[n] with delete p ...
[16.12],
[16.13],
[26.11]
- Mixing realloc() and new ...
[16.5]
- Passing array-of-Derived as array-of-Base ...
[21.4],
[21.5]
- Pointer casts ...
[16.25],
[18.17],
[21.2],
[23.12],
[27.11],
[30.2],
[30.3],
[37.5]
- Preprocessor ...
[29.8]
- Unnecessary global variables ...
[33.2],
[39.8]
- Unnecessary use of "dumb" pointers ...
[34.6]
- Build objects: constructors ...
[10.1]
- Built-in (intrinsic, primitive) data types ...
[26]
- Bulgarian translation of this document ...
[2.5]
- Bulirsch, R. ...
[29.17],
[37.7]
- Business criteria dominate technical criteria ...
[6.5]
- Business issues dominate technical issues ...
[6.17]
- By value
- Return-by-value optimization ...
[10.9]
- Return-by-value optimization extended to local variables ...
[10.10]
- Byte
|