Sign in
llvm
/
llvm-test-suite
/
195afe069d3e2ba1a1bd352d6f44ddf318201371
/
.
/
MultiSource
/
Benchmarks
/
Prolangs-C++
/
office
/
person.h
blob: 4a1ec6011cccae79083ac156036d96672da5980f [
file
] [
log
] [
blame
]
// Chapter 11 - Program 1
#ifndef
PERSON_H
#define
PERSON_H
class
person
{
protected
:
// Make these variables available to the subclasses
char
*
name
;
int
salary
;
public
:
person
(
void
)
{}
virtual
void
display
(
void
)
=
0
;
};
#endif