Saturday, January 15, 2011

C++ - Battlestar

This code is recent. 

This is the first of a series of C++ assignments that will be building on each other.  It's very simple, but future version will increase the complexity.  It's eventually going to be a Battlestar Galactica themed game of Battleship.  Surprisingly, the theme is the prof's idea.  I'm not even a fan of Battlestar Galactica.

I'm still getting used to C++.  A lot of it is familiar, given that I know C#, Java, and C already, but there are definitely some new things.

This assignment was intended to avoid dealing with dynamic memory management issues (thus no 'new' or 'delete' calls).  I've dealt with dynamic memory management in C, but I don't yet have a lot of experience with it in C++.  I'll be working on improving that this term. 

I wrote this in Visual Studio 2008. 

2404 BattleStar Part 1

No comments:

Post a Comment