?? word.cpp
字號:
// Word.cpp: implementation of the Word class.
//
//////////////////////////////////////////////////////////////////////
#include "Word.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
Word::~Word()
{
}
void Word::ChanCont(string strToken)
{
strcpy(this->cont,strToken.data());
}
void Word::ChanWType(int type)
{
this->WType=type;
}
void Word::ChanXY(const int chax,const int chay)
{
xend=chax;
xbeg=xend-strlen(cont)+1;
y=chay;
}
char * Word::ReturnCont()
{
return this->cont;
}
int Word::ReturnWType()
{
return this->WType;
}
void Word::ReturnXY(int &beginx,int &endx,int &chay)
{
beginx=xbeg;
endx=xend;
chay=y;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -