본문내용
#include
#include \"resource.h\"
//꼬리의 좌표를 선언
typedef struct {
int x;
int y;
} Tail;
Tail t[50]; //꼬리길이배열
int tail_num;
int x1, y1;
int i;
BOOL right=true,left,up,down;
void bump(HWND); //충돌
void draw(HWND);
LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
HINSTANCE g_hInst;
LPSTR lpszClass=\"컴공 뱀게임 프로젝트!!!\";
int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,
LPSTR lpszCmdParam, int nCmdShow)
{
HWND hWnd;
MSG Message;
WNDCLASS v; //클래스이름 V
g_hInst=hInstance;
#include \"resource.h\"
//꼬리의 좌표를 선언
typedef struct {
int x;
int y;
} Tail;
Tail t[50]; //꼬리길이배열
int tail_num;
int x1, y1;
int i;
BOOL right=true,left,up,down;
void bump(HWND); //충돌
void draw(HWND);
LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
HINSTANCE g_hInst;
LPSTR lpszClass=\"컴공 뱀게임 프로젝트!!!\";
int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,
LPSTR lpszCmdParam, int nCmdShow)
{
HWND hWnd;
MSG Message;
WNDCLASS v; //클래스이름 V
g_hInst=hInstance;
소개글