SDL_image
that is what i have for it but it doesnt work
SDL_SetVideoMode()
i tried all of them but none of them worked
is there any other ways to fix these problems
Previously I intended to show the overall structure for using SDL_image. Also, make sure you have your .lib files specified in your project, and that the image path is specified correctly like it was discussed regarding SDL_ttf.
Regarding SDL_SetVideoMode(), my point was not to simply change the flag. Your program structure probably needs to be changed.
It's not a matter of solving these issues in another way, it is a matter of using what we're discussing in the proper way. Post some code and maybe the problems will become more apparent.