arithmetic operators for, 69–72
arrays and, 380–388, 391–393, 455–462, 523–525, 529, 666–669, 670–673
assignment statements, 46–49, 69, 513–514
asterisk (*
) used for, 511–514
automatic, 520
blocks and, 135–137
C strings, 455–462
cin
(input) statements, 21–23
class members, 666–669
cout
(output) statements, 21–23
data types, 44–45, 60–74
declaration of, 21–23, 44–45, 48–49, 64, 66–68, 147, 380–384, 455–456
dereferencing (*
) operator for, 512–513
dynamic, 515, 518–520
dynamic arrays and, 523–525, 529, 670–673
equal sign (=)
for, 22
for
statements for, 147–149
function and, 218–229
global, 223–224, 226–227, 520
identifiers, 42–44
increment/decrement operators for, 143–144
indexed, 381–388, 391–393, 428, 433, 491
initializing, 48–49, 145–146, 388, 456–457
integers as, 21, 44–45
local, 135–137, 218–229
loop mechanisms and, 135–137, 143–144, 147–149, 152, 162–163
memory locations, 41–42, 384–385
naming, 42–45, 49
new
operator for, 515–517
null (/0
) character and, 455–456, 458
pointers, 510–522, 523–525, 529
scope, 220–221, 226–227
square brackets [ ]
used for, 380–382, 494
static, 520
streams as, 310
string
, 66–68, 670–673
syntax for, 46
tracing, 162–163, 288
type name, 44–45
uninitialized, 47–49, 152
values, 22, 46–48, 162–163, 491–494
vectors, 491–494