I am looking for a way to connect remote oracles to a database and read some data from a table in a C ++ console application. Can someone give me some hints. Thnx.
soci, http://soci.sourceforge.net , is a fairly modern C ++ interface that uses the Oracle call interface. It can also connect to other databases ...
The official Oracle site offers several resources. Among others:
Just Google, there really are a lot of tutorials.
You can either use the Oracle C ++ Call Interface (native API) , or Open the database connection API . If you need a higher-level shell, libraries have even more convenient interfaces, such as Qt .
You can use OCCI: http://www.oracle.com/technetwork/database/features/oci/index-090820.html
or OCI: http://www.oracle.com/technetwork/database/features/oci/index.html
or one of many other APIs available. It really depends on what you are going to use for it. You should find a lot of information about the advantages / disadvantages of the various APIs through Google.
If this does not study the purpose or strict requirement with ORACLE DB, I would suggest you work with generic classes / services provided using various Microsoft Framework.
You can try: CODBC . This is the API for Pro*C Pro*C is a very decent way to connect Oracle and C ++.
CODBC
Pro*C