Original Post
Ok this is a stupid error that seems fine to me but for some reason isn't working. Here's my code:
#include "SDL/SDL.h"
#include <cstdlib>
#include <iostream>
int main(int argc, char *argv[])
{
std::cout << "Program starting";
system ("PAUSE");
return 0;
}
The thing that is really vexing me is that the above code doesn't print to the console, but if I comment out the SDL header it does. I need to be able to print stuff to the console while I'm using SDL so that I can debug parts the program that I'm making (connect 4). Does anyone know why this would be happening?