SDL screen intialization

This is my first post, so I apologize ahead of time, but hopefully you can help.

I've recently been working with SDL, using the lazy foo' tutorials like everyone else. I decided to make a 'pong' style game and I have the basic skeleton laid out. Only problem is that the screen will not initialize correctly. I have written other programs using the SDL library and it worked; but any time I split the program into multiple source files and headers, it crashes. I have debugged it enough to find that it says "An Access Violation (Segmentation Error) raised in program". I could understand if it were an image pointer pointing to NULL, but this is the screen that is set up using SDL's own function... any ideas?
well, nevermind.. I was, for some reason, managing to refer to back to the *screen.. anyway, it's fixed.
Topic archived. No new replies allowed.