Omnimaga

General Discussion => Technology and Development => Computer Programming => Topic started by: Happybobjr on October 23, 2011, 12:29:25 pm

Title: More C++ help plz
Post by: Happybobjr on October 23, 2011, 12:29:25 pm
nvm. i might be stupid :P
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;
}