Hey, i'm pretty new to C++, i know exactly what i need to do, but i'm having trouble in figuring out how to do it =/
I making a battleship kind of game and i've got to the point where it's randomly allocating space for cities, and it displays either a 0 or a number. i want to create an if statement so the numbers display " " instead of a 0 and a "^" for a city. but i just can't figure out where to put it, here's what i have so far: