home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR41
/
CUJ0793.ZIP
/
1107126A
< prev
next >
Wrap
Text File
|
1993-05-07
|
201b
|
19 lines
class X
{
public:
int i;
static char *s;
class Y
{
public:
void f();
};
};
void X::Y::f()
{
s = 0; // ok, X::s is static
i = 0; // error, X::i is non-static
}