I am making a project in c++ and needed help reading and writing data to a table in anything like SQL, Ms Access, Excel.. This is bit urgent.. Please help me out
This Could be Great for you !! Check database section http://www.kicit.com/freebies/vcpp_source_code.htm
There are no quick and dirty solutions to your problem -- learning SQL and learning how to interact with SQL databases takes a fairly long learning curve. The link in the previous post seems to provide some excellent code and ideas. You might also want to google for some SQL and ODBC tutorials.
That sure is a nice collection of actual examples to learn C++ off of. They are straightforward and have code that can be analyzed in order to see its purpose. It is probably one of the quicker ways to learn coding, as you figure out each piece of a working program.
If you're using non-visual c++, check out this library. But, if you are using visual c++, just use OLE to do everything with access, excel, mssql, and etc. Google will reveal hundreds of examples on how to connect to any database you need.
You should make system dsn connection , its pretty easy to do it using control panel so you can do it easily. If you have a problem let me know I can send you a code.