[SDL] SDL and std::vector not mixing well...

Nick Stovall nsto135 at aol.com
Mon Nov 7 00:52:36 PST 2005


So, I'm at a point where I need to use vectors to keep track of entities in my
game. I was a little rusty with vectors, so I just implemented them to keep
track of and record the average framerate. It all compiled fine, but the program
crashes on startup. After a little cross-reference to make sure I was using them
correctly (I was), it still don't work. Simply declairing a vector crashes the
program. 

1) Is this a common problem?
2) What causes this to happen?
3) Is there any way around this?





More information about the SDL mailing list