alright got the collision detection working properly now, thanks :D.
I havn't used a vector before, i'll look into it, if it means the number of elements in the array is defined at runtime, ill love it, and have a fair few other places i could use it in this program.
i don't see anything wrong with the getposition function to be honest, you just tell it the coordinate you want the position in (i, or j) and it outputs the coordinate, i did originally try to have it return the position array, but couldn't get that working (that was ages ago, on the other side of some recently finished exams, can't remember the full details). But it's a member function of the beast class, i don't see how having it as a seperate struct would work (note: as i said, very new to programming, never used a struct, and not really sure about what they are.)
beastcounter is used multiple times in loops. total beasts isn't changed after all of the beasts have been initialised, it remains the total number of beasts. (probably redundant if i used vector).
About using the debugger - for some reason if i try using a debug build, i get access violation errors, and i don't with release builds, im not sure why.
By the way, if you want to see the game im working on you can download it
here. (The last couple of versions have had 6 downloads, the latest one had 3, and i could name them all... im not above shameless plugs). Any suggestions are welcome.
Thanks for the help, and the quick reply, i can now start trying to figure out other holes introduced by multiple enemies :D.