NormalClass.cpp
上传用户:garry_shen
上传日期:2015-04-15
资源大小:45647k
文件大小:2k
- // 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=="いゅ