[comp.lang.c++] include files from C

johnston@uiucdcsb.UUCP (02/20/87)

If you are running under System V, you should be able to use the
header files supplied with the C++ translator distribution.
Cfront should use these if you have properly installed the header
files under /usr/include/CC.  Under the version 1.1 C++ translator
which I use, you then merely "#include <strings.h>" since CC passes
the "-I/usr/include/CC" option to cpp.  I seem to recall, however, that
in an earlier release you were required to do "#include <CC/strings.h>".

If you are running non-System V (e.g. 4.2bsd) Unix, then you will have
to do some work to make the header files correct for your specific
Unix.

In any case, for now you could just declare the function yourself
("extern char * strcpy ( char *, char * )") and forget about the header
file.

Gary Johnston
Department of Computer Science
University of Illinois at Urbana-Champaign
1304 West Springfield Avenue
Urbana, IL 61801

USENET:	{pur-ee,convex,ihnp4}!uiucdcs!johnston
ARPA:	johnston@b.cs.uiuc.edu
CSNET:	johnston%uiuc@csnet-relay