From: Tudor Newsgroups: comp.os.msdos.djgpp Subject: Re: c and c++ in the same program? Date: Sat, 18 Jan 1997 18:21:07 -0800 Organization: Communications Accesibles Montreal Lines: 24 Message-ID: <32E18513.6573@cam.org> References: <32dd111a DOT 70513538 AT redwood DOT cs DOT sc DOT edu> Reply-To: tudor AT cam DOT org NNTP-Posting-Host: dynamicppp-161.hip.cam.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: > Ok, I have a text based program that is written in C++ (djgpp) and > works, but it has a very minimal/crude interface that I dislike. I > want to give it a GUI using sword, but I noticed all of the sample > programs that come with sword are written in C (not C++). 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 Yah,you can mix the two... -- tudor 'at' cam 'dot' org yoda69 'at' hotmail 'dot' com http://www.cam.org/~tudor -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d-(--) s(-):(+) a? C+ UL>++++ P L>+++++ E- W++ N o K---(----) w--- O---- M-- V-? PS+++ PE Y PGP t+ 5-- X+++>++++ R tv b+ DI D+ G e->++ h>++ r- y>+++++ ------END GEEK CODE BLOCK------