home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_07_07
/
v7n7023a.txt
< prev
next >
Wrap
Text File
|
1989-09-04
|
336b
|
15 lines
1 #include <stream.h>
2
3 class Array { // array of integers
4 public:
5 Array(int size);
6 int & value(int index);
7 int & operator[ ] (int index);
8 friend ostream & operator<< (ostream &os, Array v);
9 private:
10 int *array;
11 int arraysize;
12 };