Hi there

i wanna make a query like this

SELECT * FROM accounts

accounts table has 3 columns

ID
Name
Password

so i wanna get every column value in variable

like char name= column[name];

so i can cout << name ;

is there away to do it?

From the string you've written, I assume you're dealing with an SQL database.
If that's the case, then you may want to use some library - google "c++ sql", and you'll find a lot of libraries along with tutorials (just to name some, ADO, ODBC...).

.../libmySQL.dll', Binary was not built with debug information.

how to fix this?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.