| | |
New to SDL
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Nov 2007
Posts: 980
Reputation:
Solved Threads: 210
Well, by doing the following ...
I got output as follows:
load_image() failed, error: File is not a Windows BMP file
C++ Syntax (Toggle Plain Text)
... background = load_image("background.bmp"); if(background == NULL) { // load_image() failed ... cout << "load_image() failed, error: " << SDL_GetError() << endl; } apply_surface(100, 100, message, screen); ...
I got output as follows:
load_image() failed, error: File is not a Windows BMP file
![]() |
Similar Threads
- SDL_toypiano (C++)
- SDL library memory leak (C)
- sdl color key, don't understand (Game Development)
- Problem getting SDL to work with Dev-C++ (C++)
- Problem getting SDL to work with Dev-C++ (C++)
- writing a script (Shell Scripting)
Other Threads in the C++ Forum
- Previous Thread: member data of a class
- Next Thread: Tough time solving this problem. Month names to store in array and manual entry?
Views: 1371 | Replies: 12
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





