Database connection using C++/VC++

Go4Expert Member
5May2011,14:54   #1
Poonamol's Avatar
Hello,

I need sample application for DataBase connection with below operations,
1] Connect to DB
2] Get data from EMP table
3] Set data for EMP table

Could you please help me out.
Mentor
6May2011,12:42   #2
xpi0t0s's Avatar
$ORACLE_HOME/demo/rdbms/cdemo1.c does exactly what you want.
If it's not present you can install it from the Companion disk (10g) or Examples disk (11g).