?? weaponclass.cpp
字號:
// WeaponClass.cpp: implementation of the CWeaponClass class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "WeaponClass.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CWeaponClass::CWeaponClass()
{
}
CWeaponClass::~CWeaponClass()
{
// delete lpGoods;
// delete lpWeapon;
}
void CWeaponClass::InitWeapon(char *szFileName)
{
FILE *fp;
char szBuf[100];
CString szStr;
int nValue =0;
TGoods *Goods;
TWeapon *Weapon;
Goods = new TGoods;
Weapon = new TWeapon;
Goods->nKinds = GK_weapon; //賀摸
fp = fopen(szFileName,"r");
if(fp!=NULL)
{
while(fscanf(fp,"%s",szBuf)!=EOF)
{
szStr = szBuf;
if(szStr=="いゅ
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -