Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Using Pro*C with C++

Using Pro*C with C++

From: Matt Roper <mattrope_at_mdhost.cse.tek.com>
Date: 1998/11/23
Message-ID: <Pine.SUN.3.95q.981123081255.1895A-100000@tekgp2.cse.tek.com>#1/1

I am writing replacements for some old programs at my company. These programs were written in C and used Pro*C to access an Oracle database. I am unfamiliar with Pro*C and haven't found any documentation on it yet. I would like to write my programs in C++ and use the Pro*C preprocessor, but I am not sure if this is possible. The code generated by Pro*C doesn't seem to compile under the C++ compiler I use, but it does compile under gcc if I don't use any C++-specific statements. Is there any way I can make Pro*C generate valid C++ code? Thanks for your help.



Matt Roper
Tektronix, Inc.
(503) 627-2023
mattrope_at_mdhost.cse.tek.com Received on Mon Nov 23 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US