mercredi 18 mars 2015

What could cause the error: "Fatal Error: Out of memory - aborting" from simply including a header file?


I'm fairly new to C++ and I'm trying to create a brick breaker game for my CS class using SDL2. Most of the code can be seen here aside from a couple header files that don't seem relevant. It compiles fine, but when running it it instantly stops with the error, "Fatal Error: Out of memory - aborting". The problem is fixed if I comment out the #include on lines 58, 59, and 62 and all references to them in that class, but that is not ideal.




Aucun commentaire:

Enregistrer un commentaire