HELLO BROTHERS.


partial code on C++
Code:
...
vector<vector<string> > result = db->query("SELECT a, b FROM a;");
for(vector<vector<string> >::iterator it = result.begin(); it < result.end(); ++it)
{
	vector<string> row = *it;
	cout << "Values: (A=" << row.at(0) << ", B=" << row.at(1) << ")" << endl;
}



Ok. But I need to change this looping for liteC.

Code:
vector<vector<string> > result;

DLLFUNC void* sqlte3_feetArray()
{

//Simple sample
result = db->query("SELECT a, b FROM a;");
return &result;

}



that way I can capture this vector return ?


Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________