Hi All,
I want to write Pro*C code and compile in my local PC.
I am sure my Turbo C compiler does not do that.
Please help me to know:
->What all the items I need to install?
->Is there any compiler/editor where I can write Pro*C code which converts the embedded SQL to C Struct and then build object files and project/executable?
->What database i can install.
I am looking for free product. Please help.
Thanks and Regards,
Aj
ProC, that is an Oracle product and nobody else's. To build programs using it you need to use Oracle's precompiler to convert ProC programs into ordinary C programs, after which you can compile it in the compiler of your choice -- assuming it has the correct libraries, etc. Which Turbo C does not. Instead, it has this:

Turbo C is a C compiler for DOS. Not "DOS prompt", but real, actual DOS programs -- 16-bit .exe or .com files which can run in a vintage 1981 IBM Personal Computer. It's missing libraries and headers that anyone these days would consider standard; it doesn't even support network sockets, let alone Oracle, and hasn't been extant for nearly twenty years. I don't know why people use it anymore.
For modern Windows alternatives I suggest things like Dev-C++, or Microsoft Visual Studio.
If you can get just the Oracle client libraries that should have Pro*C in it, you don't need the full-fledged server I think. What licenses you need to use the client I have no idea.
GNU C/C++ seems like a good choice. Oracle proc produces C/C++ from ESQL C and compiles it using the command you supply, as I recall. Sybase was simpler, just giving you a preprocessor that I wrote wrappers for, to get accurate original code line numbers on error and debug messages using # line_no "file_name" directives, so easy!
Client softeare is often free, but development tools may not be. Beyond proc, there is also open source ESQL C, JDBC and JSQL (the one of nmany that means embedded SQL in JAVA). I have even gotten lazy and just pre- or post-processed sqlplus in plain C/C++ or just sed!
So you mean in order to comile my code. I need to:
Install ORACLE Database - > ORACLE Client -> Package to get Pro*C Libraries - > Editor for writing code.
Is it right?
Thanks and Regards,
Aj