delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/17/23:28:17

From: BRAD HOUSE <genocide AT pig DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: c and c++ in the same program?
Date: Fri, 17 Jan 1997 18:50:27 -0500
Organization: Praxis Information Group
Lines: 15
Message-ID: <32E01042.5C46@pig.net>
References: <32dd111a DOT 70513538 AT redwood DOT cs DOT sc DOT edu>
Reply-To: genocide AT pig DOT net
NNTP-Posting-Host: ptp144.praxis.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Daniel Boyer wrote:
> 
> Ok this may be a simple question that has been answered before, but
> here goes:
> My question
> is can I intermix the code or do I have to rewrite it all (I only know
> bare minimal C...I when straight from pascal to C++ without ever being
> taught C, so I don't really want to go back and try to learn C just
> for this program.)? Thanks,  Daniel Boyer
Sure you can....all there are a few things that you might have to change
to compile without warnings, but for the most part, C++ is 100%
compatible with C, meaning you can compile C programs under C++.....

Good Luck....
-GENOCiDE

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019