Monday, December 23, 2013

Some practice with AVL trees. I managed to insert nodes into a self balancing tree and perform some rotations. 








Output:


Tuesday, November 26, 2013

I wanted to do something a little more creative with what I've learned so far in C++. I was always a big fan of the old text based RPGs so I decided to make my own. Legend, a game where the user plays a smuggler/pirate who has just returned to port after a long adventure of raiding and trading on the high seas. However, little do they know that trouble soon awaits them onshore. 















Thursday, September 12, 2013

Templates


Feeding arrays with variables of different data types using templates.






































Testing our function prototypes....