Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!IRO.UMontreal.CA!news From: mailhot@IRO.UMontreal.CA (Pierre Mailhot) Newsgroups: comp.lang.c++ Subject: Including C files into a C++ program Keywords: C, C++, #include Message-ID: <1990May7.172718.3230@IRO.UMontreal.CA> Date: 7 May 90 17:27:18 GMT Sender: news@IRO.UMontreal.CA Organization: Universite de Montreal Lines: 16 I'm sorry if this topic has already been covered several times before, but I'm relatively new as regard of C++ and I'm looking for a simple way to include C program source code into a C++ program. My problem is as followed: I'm currently using a modified version of the AT&T C++ preprocessor which when I include C #include files in a C++ program doesn't include the #define instructions from these files. As anybody encountered this problem and/or found a solution to it? Please e-mail me any answer. -- Pierre Mailhot Universite de Montreal, Dep. I.R.O. V-135, C.P. 6128, succursale A Montreal (Quebec) H3C 3J7, CANADA, (514) 343-6006, (514) 766-4645 mailhot@iro.umontreal.ca, mailhot@iros1.UUCP