9 lines
240 B
C++
9 lines
240 B
C++
#include <SDL.h>
|
|
#include <iostream>
|
|
|
|
int main(int argc, char* args[]) {
|
|
SDL_version v;
|
|
SDL_GetVersion(&v);
|
|
std::cout << "SDL version " << int(v.major) << "." << int(v.minor) << "." << int(v.patch) << std::endl;
|
|
return 0;
|
|
}
|