Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Using Pro*C with C++
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.
![]() |
![]() |