delorie.com/archives/browse.cgi | search |
Date: | Wed, 16 Mar 94 09:08:38 -0500 |
From: | dj AT ctron DOT com (DJ Delorie) |
To: | M DOT Piff AT sheffield DOT ac DOT uk |
Cc: | turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp, djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: Graphics and C++ |
> TEST.CC > > #ifdef __cplusplus > extern "C" { > #endif > > #include <stdlib.h> > #include <stdio.h> > #include <graphics.h> Don't do this. You're telling the compiler that some of the C++ routines are C routines, which is not true.. All the header files are properly protected for inclusion as C++ headers. The two Blit routines are NOT C routines.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |