I am using SDL with C::B. It compiles perfectly. And everything is running, but only when i choose SDL project from Project Wizzard. When i download single .cpp file from net which contains SDL commands C::B wont compile it. Compiler shows tons of error (for any SDL command) . [.cpp file from net does compile from terminal with gcc -lSDL and if needed -lSDL_image ]. So i probably have linked something wrong. How to set up C::B to compile .cpp files from internet which contains SDL commands?
Sorry about my bad english.