From: boyer AT cs DOT sc DOT edu (Daniel Boyer) Newsgroups: comp.os.msdos.djgpp Subject: c and c++ in the same program? Date: Wed, 15 Jan 1997 17:23:48 GMT Organization: University of South Carolina - Columbia - Computer Science Lines: 23 Message-ID: <32dd111a.70513538@redwood.cs.sc.edu> NNTP-Posting-Host: poplar.cs.sc.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 ----- Daniel Boyer boyer AT cs DOT sc DOT edu -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.2 mQCNAzLVlk4AAAEEAM+okxZsxsVtYBi7yAYj1G6eiKy3WFR8muG/WnteshJKGg53 XWaEiroqEKI4FkwAlFfY8/vwXyFClCMu++WHwFBms5Ik7Z1bhyhRgP9XoyPQ8ZAY pYdoMr9g0KzDm3acCCTsZ4HbSgLJfBOzubO5ZjgFTi5eVyENSfVAKDiExlSRAAUR tCFEYW5pZWwgUC4gQm95ZXIgPGJveWVyQGNzLnNjLmVkdT4= =SBeX -----END PGP PUBLIC KEY BLOCK-----