Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 29 Nov 2012
Offline Last Active Mar 24 2014 03:10 PM

Posts I've Made

In Topic: Good data structures and algorithms in C++ book?

01 March 2014 - 11:36 AM

Sam's Teach Yourself Data Structures And Algorithms in 24 Hours. 


Don't be put off by title - I think it's  a great introduction to DS & A, and its implementations are in C++.  It goes over the common sorts, trees/balanced trees, and hashing.


All the other books that people posted are quality, but I (personally) don't think they're suitable for a first DS & A book.

In Topic: Concept for making a state manager

24 January 2014 - 05:32 PM

It looks like you're on the right track to me - however, I'm confused as to why you would make a StateManager class with a vector of states in it?  Couldn't you just put a BaseState* in your world object, and then in your world.update you call BaseStatePointer->update(), etc?


It just looks like a (possibly) unnecessary level of encapsulation to me, but your big picture seems good.  This article really helped me understand state machines; although it's implemented with SDL, I think you'll be able to grasp it:



In Topic: How can I gain a deeper understanding of C/C++?

30 October 2013 - 12:59 PM

Wow, I really didn't expect this thread to get so many replies!  My apologies for not responding earlier, this week has been really busy.


@NightCreature83, very useful link!  I'm excited to go through the archives.

@_greyfox() & Khatharr, I have learned a very small amount of Assembly, but only for a class.  Although knowing relatively little about it, I do feel like I have a better handle of what's going on when I'm debugging. I thrive off of self-learning, and the book you recommended looks ideal for my situation.  I'll be buying that one along with Stroustrups' book.


@Álvaro, well, until reading this thread, my honest answer would be one of "shallow knowledge" tongue.png.  I've always found that designs involving generally uncommon tools (like 'volatile' in C++), are best avoided unless really needed; however, I do appreciate the question and the knowledge that comes with its answer. It's exactly what I'm looking for!

In Topic: Should my website be dedicated purely to my portfolio, or can I have other co...

20 October 2013 - 06:50 PM

Alright, thanks!  I'm not very familiar with websites (obvioiusly), but I'll keep your idea in mind when I'm ready to get a domain name.

In Topic: Plans on building a 2D level editor with SDL & WXWidgets - which one hand...

20 September 2013 - 05:28 PM

I'm fully aware that there are plenty of editors - I'd just like to write a really simple one myself.


@DekuTree64, could you explain more about transferring the SDL buffer to a map window?