77 945
Assignments Done
Successfully Done
In August 2019

Answer to Question #24144 in C++ for zahra

Question #24144
when I want to debug this program in c++ it showes me this error : Error 1 error RC1110: could not open SDL learning.RC
E:\Projects\SDL Learning\RC

I'm learning sdl with lazy foo and I go step by step,what it says but again I have errors.what should I DO?
The program is here:

#include "SDL.h"
int main( int argc, char* args[] )
//The images
SDL_Surface* hello = NULL;
SDL_Surface* screen = NULL;
//Start SDL
//Set up screen
screen = SDL_SetVideoMode( 640, 480, 32, SDL_SWSURFACE );
//Load image
hello = SDL_LoadBMP( "hello.bmp" );
//Apply image to screen
SDL_BlitSurface( hello, NULL, screen, NULL );
//Update Screen
SDL_Flip( screen );
SDL_Delay( 2000 );
//Free the loaded image
SDL_FreeSurface( hello );
//Quit SDL
return 0;

Expert's answer
Does the file SDL learning.RC exist in the directory E:ProjectsSDL LearningRC? Can you open it?

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions