In order for the sample code to work unaltered you should have access to the HR sample schema user (included in Express Edition). In order to keep things as simple as possible I have elected to use a single host for everything. For example, the database can be on another host and/or platform. You can, of course, allow for some variation in the above however, you may then need to make adjustments to the steps that follow. NOTE: The precompiler uses the "standard" Oracle Technology Network license rather than the Instant Client license. Oracle Instant Client 11.2.0.1 Packages for Linux x86 (available here).Oracle Enterprise Linux (available here).Oracle Database 10g Express Edition (available here).The components used are (valid at time of posting): For this post, all components are installed on a single host (oel02) running Oracle Enterprise Linux. Many of the components used in the previous post are also used here and the steps are similar (if not the same). For information on getting started using Pro*C on Windows, please see my previous post entitled " Oracle Pro*C on Windows with Express Edition Products". Used in combination with Oracle Instant Client packages you can easily begin to develop applications using the Pro*C Precompiler capabilities. The primary advantage of using the precompiler is that it allows you to embed SQL (and PL/SQL) directly into your application. The Oracle Pro*C Precompiler is a popular choice for developing Oracle applications in the C/C++ languages.
0 Comments
Leave a Reply. |