Hey, so I have a decent amount of experience in C++ and some C programming, I've used BASIC many years ago and created little pgm based games and I wanted to do it again in this C++. So I installed SDL 2.0 and now I am not quite sure how to use the libraries and compile the code with it. I'm pretty new to the Ubuntu coding world, as I used to use Visual Studio which was much easier to use external libraries. I am using Ubuntu 13.10, and Vim with g++ for my coding uses.
Use `sdl2-config --cflags` when compiling and `sdl2-config --libs` when linking. If you are compiling and linking in the same command you can use `sdl2-config --cflags --libs`.