hey i am doing a battleship program and i am just wondering how would you be able to change the ships position after every game??
hey i am doing a battleship program and i am just wondering how would you be able to change the ships position after every game??
srand ( time ( NULL ) );
Then use rand to set the position. Be sure to include time.h.
-Prelude
My best code is written with the delete key.