   Battleship game in Visual C++
  I need to create a simple game where a player tests a location in a 5x5 grid to find out the location of 2 battleships, taking up a total of 6 squares.  Each turn should tell the player whether it is a hit or miss.  you have won when you have found all the locations.  I am really new to Visual C++, and am not sure how to start.  I can see that there are arrays and if statements.Can anyone help me out please!!   
  That's a very open ended question..It sounds like what you're looking for is a tutorial on C or C++ programming, not the specifics of Visual C++ or how to make battleships.You should check out the articles section, search the net a little bit (I'm sure someone here will recommend some good sources), and perhaps have a look at some books (check out the books section).When you know the basics of the language, you can post back about specifics of the problem you're tackling.   ;  thanks for this.I know I am a beginner, but I have done some tutorials, bought a book and worked through it, and searched the web, but I would just like some guidance on what I need to make this.  I have worked through arrays, loops, functions, but the hard bit is putting it together and applying it to a specific scenario.I just thought someone out there would say, yeh, do this, this etc.   ;  Well I'm sure that everyone here will be more than happy to help you out with any problems that arise. But unless you have a specific problem your only going to get fingers pointing to tutorials, unless your so lucky that someone with that made a game similar to what you're trying to make will share the source code.   ;  There are many ways to go about making such a program. But before you start, plan out what you are going to do.As with most programs you need a main loop. Within the loop you need to tell both sides to move-- red move and white move. Beyond that it's up to you how the functions work.   