home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PROG_C
/
CL187A.ZIP
/
EXAMP602.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-15
|
626b
|
21 lines
// examp602.cpp - link with cl.obj
// Container Lite (CL v 1.87a)
// (C) Copyright John Webster Small 1994
// All rights reserved
#include "cl.h"
#define ID_test 5
char * test(char * s1, char *s2)
{ cout << s1; return s2; }
main() {
Register_Function(test,ID_test);
cout << (*(char *(*)(char *, char *))
ID2fnC(fnC2ID(test)))
("\nGoodbye persistence headaches!\n",
"Hello streamable functions!\n");
return 0;
}