|
|
 |
|
|
|
|
+ (addition) operator, 207, 212-214 |
|
|
|
 |
|
|
|
|
overloading, 214-215 |
|
|
|
 |
|
|
|
|
& (address of) operator, 134 |
|
|
|
 |
|
|
|
|
= (assignment) operator, 33, 44-45, 216, 223 |
|
|
|
 |
|
|
|
|
examining this pointer, 216-218 |
|
|
|
 |
|
|
|
|
\ (backslash), 355 |
|
|
|
 |
|
|
|
|
} (closing brace), 21 |
|
|
|
 |
|
|
|
|
- (dash), 151 |
|
|
|
 |
|
|
|
|
--(decrement) operator, 46 |
|
|
|
 |
|
|
|
|
postfix, 46-48 |
|
|
|
 |
|
|
|
|
prefix, 46-48 |
|
|
|
 |
|
|
|
|
* (dereference) operator, 138, 142 |
|
|
|
 |
|
|
|
|
/ (division) operator, 45 |
|
|
|
 |
|
|
|
|
· (dot) operator, 151, 352 |
|
|
|
 |
|
|
|
|
(double quotation marks), 21 |
|
|
|
 |
|
|
|
|
// (double slash) comments, 22, 26 |
|
|
|
 |
|
|
|
|
= = (equals) operator, 44-45, 50-51, 218 |
|
|
|
 |
|
|
|
|
> (greater than) operator, 50-51, 151 |
|
|
|
 |
|
|
|
|
>= (greater than or equal to) operator, 50-51 |
|
|
|
 |
|
|
|
|
++ (increment) operator, 46, 212-214 |
|
|
|
 |
|
|
|
|
overloading, 208, 210 |
|
|
|
 |
|
|
|
|
postfix, 46-48 |
|
|
|
 |
|
|
|
|
prefix, 46-48 |
|
|
|
 |
|
|
|
|
[] (index) operator, 229 |
|
|
|
 |
|
|
|
|
* (indirection) operator, 138 |
|
|
|
 |
|
|
|
|
pointers, 138, 142 |
|
|
|
 |
|
|
|
|
< (less than) operator, 50-51 |
|
|
|
 |
|
|
|
|
<= (less than or equal to) operator, 50-51 |
|
|
|
 |
|
|
|
|
· (member access) operator, 94, 166, 229 |
|
|
|
 |
|
|
|
|
% (modulus) operator, 45 |
|
|
|
 |
|
|
|
|
* (multiplication) operator, 207 |
|
|
|
 |
|
|
|
|
!= (not equals) operator, 50-51 |
|
|
|
 |
|
|
|
|
{ (opening brace), 21 |
|
|
|
 |
|
|
|
|
<< (output redirection) operator, 21 |
|
|
|
 |
|
|
|
|
-> (points-to) operator, 151 |
|
|
|
 |
|
|
|
|
# (pound symbol), 20, 347 |
|
|
|
 |
|
|
|
|
<< (redirection) operator, 15 |
|
|
|
 |
|
|
|
|
:: (scoping) operator, 340 |
|
|
|
 |
|
|
|
|
+= (self-assigned addition) operator, 46 |
|
|
|
 |
|
|
|
|
; (semicolon), 41, 126. See also null statements |
|
|
|
 |
|
|
|
|
/* (slash-star) comments, 22, 26 |
|
|
|
 |
|
|
|
|
*/ (star-slash) comments, 22, 26 |
|
|
|
 |
|
|
|
|
# (stringizing) operator, 355-356 |
|
|
|
 |
|
|
|
|
~ (tilde), 94, 199 |
|
|
|
 |
|
|
|
|
80/80 rule (designing programs), 390 |
|
|
|
 |
|
|
|
|
abort() functions, 429 |
|
|
|
 |
|
|
|
|
aborting programs, 429 |
|
|
|
 |
|
|
|
|
abstract classes, 298-299 |
|
|
|
 |
|
|
|
|
base, 291, 294 |
|
|
|
 |
|
|
|
|
abstract data types, 286, 289-290, 298-299. See also ADTs |
|
|
|
 |
|
|
|
|
declaring, 290 |
|
|
|
 |
|
|
|
|
pure virtual functions, 289-290 |
|
|
|
 |
|
|
|
|
access specifiers, protected, 252 |
|
|
|
 |
|
|
|
|
access |
|
|
|
 |
|
|
|
|
filtering (contained members), 328 |
|
|
|
 |
|
|
|
|
private, 438 |
|
|
|
 |
|
|
|
|
protected, 438 |
|
|
|
 |
|
|
|
|
public, 438 |
|
|
|
|
|