By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 985 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Can I use SQL in C++?

P: 6
NEED HELP..!!!
Guys I have been given a project to create a C++ program to manage staff of a school. I can Do the programming part But I wanted to know that is there any way through which I can use SQL in my program. Because, you know, storage and usage of data is way easier in SQL. So is it possible? If yes, How?

Thanks.
Oct 16 '15 #1
Share this Question
Share on Google+
1 Reply


weaknessforcats
Expert Mod 5K+
P: 9,197
Most SQL implementations have a C++ library you can use.
Oracle has ProC where you put macros in your C++ code that are expanded at build time to C code that talks to Oracle.
Oct 17 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.