home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
mag&info
/
cujmay93.zip
/
1105086A
< prev
next >
Wrap
Text File
|
1993-03-01
|
200b
|
24 lines
class B
{
protected:
int j;
private:
int k;
};
class D : public B
{
public:
int foo();
};
int D::foo()
{
++j; // ok
return k; // error: k not accessible
}