Connecting C++ Project with Sql Server Management Studio Database
I have been asked to link C++ Program and Database for a Semester Project.I’m using VS 2010 for C++ Project and SSMS 2019 for Database.After doing much research,i landed upon the idea of setting up ODBC library,for the specific database say Demo…Which i did….i also created a seperate header file and added code(for linking DBS) + all the neccesary header files like #include <sqltypes.h>,
#include <sql.h>,#include <sqlext.h> that i found on one website,but to no avail.Besides,i am unable to find any tutorial that explicitly states how to achieve the said job.All of them are for linking C# with Dbs.And not what i want.