home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_C
/
CL187A.ZIP
/
EXAMP601.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-15
|
638b
|
21 lines
// examp601.cpp - link with cl.obj
// Container Lite (CL v 1.87a)
// (C) Copyright John Webster Small 1994
// All rights reserved
#include "cl.h"
cl& clr(cl& b) { b.allClr(); return b; }
char *v[] = {"line one ", "line two ", 0 };
main()
{
cl b ((void **) v);
b << clr;
b.atIns(0,"only line");
while (++b)
cout << (char *) b.get() << "\n";
return 0;
}