< Previous | Contents | Next >

O

object data members, 290291 object file, 2

object-oriented programming. See

OOP

objects

See also string objects altering through returning

pointers, 243244

defined, 283

instatiating, 259

overview, 8789

OOP (object-oriented programming), 2, 255,

281, 283

inheritance, 331333

polymorphism, 347

operator overloading, 92,

112113, 295296, 325

operator precedence, 389390 operator() member function Blackjack game, 377379

Game Lobby program, 323324

operators. See specic operators

opponent()function, Tic-Tac-Toe game, 210

OR (||) operator, 61tbl, 66 order of operations

arithmetic operators, 15

logical operators, 6768

outer loop, 8687 out-of-scope

objects, 201, 241

variables, 164, 185 output operator (), 9 output stream, 8 overloading

assignment operator, 313315

functions, 174177

calling, 177

creating, 176

Triple program, 174176

operators, 92, 112113,

295296, 325

versus overriding, 345

overriding

base class member functions, 379

default arguments, 174

non-virtual member function, 344, 351

Overriding Boss program, 341343