List of C++ Keywords


Below is a list of all the C++ keywords. These words shouldn't be used as the name of variables. C++ is case-sensitive (that is, capital letters and small letters are treated differently. ' INT ' and ' int ' aren't one and the same. The second one is a keyword). All keywords are in lowercase (or in small letters).

asm

auto

break

case

catch

char

class

const

const_cast

continue

default

delete

do

double

dynamic_cast

else

enum

explicit

export

extern

false

float

for

friend

goto

if

inline

int

long

mutable

namespace

new

operator

private

protected

public

register

reinterpret_cast

return

short

signed

sizeof

static

static_cast

struct

switch

template

this

throw

true

try

typedef

typeid

typename

union

unsigned

using

virtual

void

volatile wchar_t while  

 


Go to the next section on : Operator Overloading

or go back to Contents page.


Copyright © 2002 Sethu Subramanian All rights reserved.