Advertisement
Guest User

Untitled

a guest
Apr 29th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <SDL2/SDL.h>
  3. //#include <SDL2.h>
  4.  
  5. int main ( int argc, char *argv[])
  6. {
  7.  
  8. if ( SDL_Init(SDL_INIT_EVERYTHING) <0)
  9. {
  10. std::cout <<"error"<<SDL_GetError();
  11. }
  12. return EXIT_SUCCESS;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement