Apéndice B: Palabras reservadas
A continuación se muestra una tabla con las palabras reservadas de C++, y los capítulos en los que se explica su uso:
Palabras reservadas C++.
Palabra | Capítulos donde se habla de ellos |
---|---|
asm | |
auto | 25 |
bool | 2 |
break | 5 |
case | 5 |
catch | 43 |
char | 2 |
class | 28 |
const | 25, 33, 42 |
const_cast | 42 |
continue | 5 |
default | 5 |
delete | 12, 13 |
do | 5 |
double | 2 |
dynamic_cast | 42 |
else | 5 |
enum | 2 |
explicit | |
extern | 3, 25 |
false | 2 |
float | 2 |
for | 5 |
friend | 31, 40 |
goto | 5 |
if | 5 |
inline | 20, 32 |
int | 2 |
long | 2 |
mutable | 25 |
namespace | 26 |
new | 12 |
operator | 22, 35, 40 |
private | 28, 36 |
protected | 28, 36 |
public | 28, 36 |
register | 25 |
reinterpret_cast | 42 |
return | 5 |
short | 2 |
signed | 2 |
sizeof | 4, 10 |
static | 3, 25, 33 |
static_cast | 42 |
struct | 11 |
switch | 5 |
template | 40 |
this | 31 |
throw | 43 |
true | 2 |
try | 43 |
typedef | 19 |
typeid | 42 |
typename | 42 |
union | 16 |
unsigned | 2 |
using | 26 |
virtual | 37, 38 |
void | 2 |
volatile | 25, 42 |
while | 5 |
Palabras reservadas C.
Palabra | Capítulos donde se habla de ellos |
---|---|
auto | 25 |
break | 5 |
case | 5 |
char | 2 |
const | 32 |
continue | 5 |
default | 5 |
do | 5 |
double | 2 |
else | 5 |
enum | 2 |
extern | 3, 25 |
float | 2 |
for | 5 |
goto | 5 |
if | 5 |
int | 2 |
long | 2 |
register | 25 |
return | 5 |
short | 2 |
signed | 2 |
sizeof | 12 |
static | 3, 25, 32 |
struct | 10 |
switch | 5 |
typedef | 19 |
union | 16 |
unsigned | 2 |
void | 2 |
volatile | 25, 42 |
while | 5 |