Hey all,
First time here and I'm in the beginning of learning C++ on my own.

I know some basics and allthough PHP is not exactly C++ it has some similarities and I believe
that I do have some help with over 10 years of PHP development in my back..

Anyhow, in PHP there is a command for receiving mysql field names in an array, named;
"mysql_fetch_assoc" which can be found either on this link;

http://dev.mysql.com/doc/refman/5.1/...ql-fetch-assoc

or on the following;
http://se.php.net/mysql_fetch_assoc

This makes it so you can easily use $result['memberId'] to extract the information from the memberId field
from the row you're looking at.

What I understand, both from not seeing that available in the C version of the MySQL API and
from some previous programming in C, this isn't "possible" because there are only numeric index arrays in C..
Is this correct? (not completely sure)

Anyway, is there a way to solve it or am I forced to use "result[0]" to get the fieldvalue
from the row I'm currently reading?


Also, I've briefly looked at MySQL++ and that is surely nothing for me as I intend to write my
own library, both for licensing issues and also to actually learn from the ground up.

I'm using Visual C++ on Windows7 64-bit, but I believe I'm running a 32-bit version of VC++ if
that makes any differences..


Hope to hear from you guys soon and thanks in advance for your help!