The C++ Crib

Introduction

OO Concepts

C++ Syntax

Keywords

    o  break
    o  class
    o  continue
    o  delete
    o  for (expr1;expr2;expr3)
    o  if (args)
    o  new
    o  return
    o  switch

Delimitors

    o  {..}
    o  ".."

Operators

precedence
    o  address:          &
    o  arithmetic:       +  -  *  /  %
    o  array:            [..]
    o  assignment:       =  op=
    o  comma:            ,
    o  compare:          < <= >= >
    o  decrement:        --
    o  dereference:      *
    o  equality:         ==  !=
    o  increment:        ++
    o  input/output:     << >>
    o  member selection: -> .
    o  not:              ! ~
    o  shift:            << >>
    o  type_cast:        (class)

Go Back to the The OO Companion Top Page


Maintenance of the crib
If you have any comments about this page please send them to Nick West