TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
zahra rahimi
NA
1
1.3k
Having problem with writing my first sdl program
Feb 10 2013 5:15 AM
Hi...
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
SDL_Init( SDL_INIT_EVERYTHING );
//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 );
//Pause
SDL_Delay( 2000 );
//Free the loaded image
SDL_FreeSurface( hello );
//Quit SDL
SDL_Quit();
return
0;
}
THANKS...
Reply
Answers (
0
)
i want to develop app in android bt i dont know hw 2 rt code
Retrieving images from database using next and previous