Does anyone know of any open source libraries that provide a simple grid (2d matrix) structure- for simple game navigation? I am running into a lot of problems with the one I created for my ai project and it would be nice to have something reliable to work with. Thanks!
1. All matrices are 2D arrays by definition ;)
2. As usually, matrix classes provide matrix oriented operations (transpose, invert, matrix arithmetics etc. Are you sure that you need all these features for simple game navigation (can't imagine what's a beast)?
3. May be better try to present some of a lot of problems with the one you created? A simple grid structure has a lot of simplest implementations in C++...
4. Google (or this forum) search gets tons of links on 2D arrays/matrices in C++...
#define A 3// name a constant
long int booking_ID ; ...