Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. guillemc23

    Battleship like fortran code

    Try shooting 10,2; then 10,4 and then 10,3... it's not working for ships larger than 2
  2. guillemc23

    Battleship like fortran code

    Yeah, that's an easy way to do it, the thing is that I have to do it the other way... And i just can't find no one and no place to seek for help
  3. guillemc23

    Battleship like fortran code

    I understand what you say, but in battleship, ships can't be diagonal or touching each other, so there wouldn't br any problem. The thing is that if you have one million ships, you don't have all those letters in the alphabet, that's why I used *. The idea I had on my mind was to make it go...
  4. guillemc23

    Battleship like fortran code

    What you told me only works if there's just one ship, but if there's more, it keeps saying just hit, not sunk.
  5. guillemc23

    Battleship like fortran code

    Here you have the tablero.dat file, note that those are not zeros, those are Ohttps://mega.co.nz/#!uA8AnISD!Bmibh3Sz_6mqfZU7PvC--X1V0copqSVthTj5him0dCY
  6. guillemc23

    Battleship like fortran code

    Hi, I'm from Spain, so please, don't be too bad with my english :D I'm just having a little trouble trying to finish some kind of Battleship code, I'm stuck with boats 3 and 4 units long, and I haven't found any other place to ask for some help/advice. The code I posted here works perfectly...

Part and Inventory Search

Back
Top