?? cb_point.cpp
字號:
#include "CB_Point.h"
#include "CB_Unit.h"
#include "Afx.h"
//##ModelId=40B818AE0293
POINT *CB_Point::getPoint(char *index)
{
FILE *pFile;
pFile = fopen("dat/point.dest","r");
POINT point;
m_search_point = NULL;
while(1==1){
if(fread(&point,sizeof(POINT),1,pFile)< 1){
break;
}
char *pIndex;
pIndex = point.index;
CB_Unit::trim(pIndex);
if(strcmp(pIndex,index) == 0){
m_search_point = &point;
break;
}
}
fclose(pFile);
return m_search_point;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -