#include <graphics.h>
#include <cstdlib>
#include <conio.h>
#include <ctime>
int col[15]={0xA80000,0x00A800,0xA8A800,0x0000A8,0xA800A8,0x0054A8,0xA8A8A8,0x545454,0xFC5454,0x54FC54,0xFCFC54,0x5454FC,0xFC54FC,0x54FCFC,0xFCFCFC};
typedef struct SnowPOINT
{
int x;
int y;
......................
阅读全部 | 2013年1月2日 14:31
#include <windows.h>
/* Declare Windows procedure */
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
/* Make the class name into a global variable */
char szClassName[ ] = "WindowsApp";
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)
......................
阅读全部 | 2013年1月2日 14:30