?? win.h
字號:
// Win.h: interface for the Win class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WIN_H__DB9CBC4B_6FBB_40BB_8B3F_5683561D7777__INCLUDED_)
#define AFX_WIN_H__DB9CBC4B_6FBB_40BB_8B3F_5683561D7777__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class Win
{
public:
int chess[15][15];
int win(int x, int y);
void init();
Win();
virtual ~Win();
private:
};
struct Element
{
int x;
int y;
};
struct stracker
{
int top;
Element element[255];
void initData()
{
top=0;
for(int i=0;i<255;i++)
{
element[i].x=0;
element[i].y=0;
}
}
Element push(Element e)
{
element[top]=e;
top++;
return e;
}
Element pop()
{
Element e1;
e1=element[top];
if(top>0)
top--;
return e1;
}
};
#endif // !defined(AFX_WIN_H__DB9CBC4B_6FBB_40BB_8B3F_5683561D7777__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -