« on: October 23, 2011, 12:29:25 pm »
nvm. i might be stupid
why doesn't this work...
#ifdef __cplusplus
#include <cstdlib>
#else
#include <stdlib.h>
#endif
#ifdef __APPLE__
#include <SDL/SDL.h>
#else
#include <SDL.h>
#endif
#include <iostream>
#include "SDL.h"
using namespace std;
int main ()
{
int A=5;
cout << "Hello World!" << "\n" << A;
return 0;
}
« Last Edit: October 23, 2011, 12:31:38 pm by Happybobjr »
Logged
School: East Central High School
Axe: 1.0.0
TI-84 +SE ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire ||| Lent out, and never returned
____________________________________________________________