normalclass.cpp
来自「mud游戏人在江湖」· C++ 代码 · 共 40 行
CPP
40 行
// NormalClass.cpp: implementation of the CNormalClass class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "NormalClass.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CNormalClass::CNormalClass()
{
}
CNormalClass::~CNormalClass()
{
// delete lpGoods;
}
void CNormalClass::InitNormal(char *szFileName)
{
FILE *fp;
char szBuf[100];
CString szStr;
int nValue =0;
TGoods *Goods;
Goods = new TGoods;
Goods->nKinds = GK_normal; //贺摸
fp = fopen(szFileName,"r");
if(fp!=NULL)
{
while(fscanf(fp,"%s",szBuf)!=EOF)
{
szStr = szBuf;
if(szStr=="いゅ
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?