home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_11_08
/
1108121a
< prev
next >
Wrap
Text File
|
1993-05-23
|
187b
|
13 lines
1: int k;
2:
3: class X
4: {
5: int i;
6: static int k;
7: friend void f(X &x) { x.i = ++k; }
8: friend void g();
9: };
10:
11: void g(X &x) { x.i = ++k; };