[/COLOR]
Sorry, I missed the "C" part in the thread title, but generally, you need to built a list of something, be it a vector or whatever!
And yeah, a vector is a dynamic storage container......
Type: Posts; User: Dabz
[/COLOR]
Sorry, I missed the "C" part in the thread title, but generally, you need to built a list of something, be it a vector or whatever!
And yeah, a vector is a dynamic storage container......
Wow, all that just for a simple auto complete feature!?!?!
Here's how I would do it, which, I wont use all the above, but, basically:-
1) Create a string vector that includes all your keywords...
I use bit-shifting to reduce the players X and Y coordinate to a value that represents a place on the tilemap...
While not C++ (GLBasic), here's a small example to muse over:-
...