Notes on Embedding SQL in C
INSTRUCTIONS and Example of Execution (READ FIRST)
Original C file with SQL macros (t.pc)
File to setup SQL data (run in SQLPLUS)
Cshell Program to execute
Makefile
Additional details are given in your reference text:
R. Sunderraman,
Oracle Programming: A Primer
. Addison-Wesley, 1998. ISBN: 0-201-35753-4.