O'Reilly logo

Beginning C++ Through Game Programming, Fourth Edition by Michael Dawson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

INDEX

! (NOT) operator, 62

#include directive, 7

&& (AND) operator, 61

() (operator precedence), 63–64

|| (OR) operator, 62

< > (header files), 7–8

<< (output operator), 8

A

abstract classes

Abstract Creature program, 327–329

deriving classes, 329–330

overview, 327

pure virtual functions, 329

Abstract Creature program, 327–329

abstraction (functions), 147

access levels (member functions)

classes, 249–252

defining accessor member functions, 252–253

defining constant member functions, 253

objects, 249–252

Private Critter program, 249–251

access modifiers (class inheritance), 313–316

accessing

data members

classes, 245

objects, 245

static, 256–257

global variables, 159–160

values (references), 180

accessor member functions, 252–253

Add() function, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required