< Previous | Contents | Next >

T

tab (\t), 23

Taking Damage program, 177179

Talk() member function,

Critter class, 279

tellStory()function, 183

terminating statements, 9

test expression, for loop, 82 text, displaying through standard

output, 89

this pointer, 326

Tic-Tac-Toe 2.0 game, 248 Tic-Tac-Toe Board program,

103105

Tic-Tac-Toe game, 203217

announceWinner()function, 217

askNumber()function, 209

askYesNo()function, 208209

computerMove()function, 213216

creating list of functions, 205

displayBoard()function, 210211

humanMove()function, 213

humanPiece()function, 209210

instructions()function, 208

isLegal()function, 212213

main()function, 207208

opponent()function, 210

pseudocode, 204

representing data, 204205

setting up, 205207

winner()function, 211212

toupper() function, 155

triple() function, 176

Triple program, 174176

true values

interpreting, 43

testing, 4243

truth, 3940

two-dimensional array, 103

type casting, 372 types

See also classes

defining new names, 23 fundamental, 18

modifiers, 1819

understanding which to use, 24