Yay, i finished my battleship game!
awhile ago someone said the partial code looked interesting and i should post it when i finished... so i am...
see atachment for the cpp file. Oh and while i doubt anyone will wanna steal this (or learn from it, now that i think about it... whatever) please dont take credit for this, it has caused me many sleepless nights working on it.