level 11
漏洞WCBZ
楼主
我是小白,欢迎大家指正,运行通过。
#include <SDL/SDL.h>
#include <SDL/SDL_draw.h>
![[开心]](/static/emoticons/u5f00u5fc3.png)
int main()
{
SDL_Surface *screen;
//屏幕指针
SDL_Init(SDL_INIT_VIDEO);
//加载(初始化)视频子系统,
screen=SDL_SetVideoMode(320,480,32,SDL_SWSURFACE);
//设置屏幕的视频模式,320宽,480高,32位。
Draw_Circle(screen,160,240,159,0xff);
//画一个圆。指定屏幕screen,圆心160,240。半径159。颜色0xff
SDL_UpdateRect(screen,0,0,230,350);
//更新屏幕区域
SDL_Delay(6000);
//停留6秒
SDL_Quit();
//退出图形
return 0;
}
2013年05月23日 03点05分
1
#include <SDL/SDL.h>
#include <SDL/SDL_draw.h>
int main()
{
SDL_Surface *screen;
//屏幕指针
SDL_Init(SDL_INIT_VIDEO);
//加载(初始化)视频子系统,
screen=SDL_SetVideoMode(320,480,32,SDL_SWSURFACE);
//设置屏幕的视频模式,320宽,480高,32位。
Draw_Circle(screen,160,240,159,0xff);
//画一个圆。指定屏幕screen,圆心160,240。半径159。颜色0xff
SDL_UpdateRect(screen,0,0,230,350);
//更新屏幕区域
SDL_Delay(6000);
//停留6秒
SDL_Quit();
//退出图形
return 0;
}

