Implementing associative arrays in C/C++
This article demonstrates using string/char* indexes in regular C array, e.g. myArray['age']=10;
We usually use numaric indexes in arrays with C and C++. But there can be another way of using C / C++ arrays like in PHP, e.g.
Views: 702 | | by Troy
View this tutorial