=ce){an.hp--;an.de--;}else{an.hp=an.hp-ce+an.de;an.de--;}if(an.hp<0){an.hp=0;}if(an.de<0){an.de=0;}cout<
=ce){an.hp--;an.de--;}else{an.hp=an.hp-ce+an.de;an.de--;}if(an.hp<0){an.hp=0;}if(an.de<0){an.de=0;}cout<
于 2022-08-02 发布
文件大小:304.42 kB
0 118
#include
#include
#include
#include
#include
#include
using namespace std;
class Role
{
protected:
int hp,ce,de,fa;
int flag;
string nn;
public:
Role(string n, int h, int c, int d, int f):nn(n),hp(h),ce(c),de(d),fa(f) {}
~Role() {}
void combat(Role &an)
{
if(fa>an.fa)
{
flag=1;
loop2:
cout
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
WinPc ap-NDIS-WFP-Drivers-master
说明: winpcap ndis和wfp驱动代码(winpcap ndis and wfp driver code)
2020-08-04 20:07:58下载
积分:1
Observer
a observer pattern desing example in c++ a basic class room one
2015-09-24 17:01:56下载
积分:1
NRF查询接收发程序(可用)
可以使用两个最小系统,32的c8t6来互相通信,利用串口一可以查看通信结果(Two minimal systems, 32 c8t6, can be used to communicate with each other, and serial port one can be used to view the communication results.)
2019-03-06 14:03:11下载
积分:1
GetVersionName
根据GetVersionEx获取版本ID获取系统名称(According GetVersionEx version ID for the system to obtain the name of)
2016-04-29 12:06:07下载
积分:1
一个串口读写的测试程序,对初学者很有用
里面有一个串口的读写维护的通用类,具有自动监视串口的功能,当发现串口有数据时会通知使用者,使用者收完数据后,通知本类继续监视串口,这是一个很好的功能.
2023-08-12 15:30:03下载
积分:1
rsa
rsa 实现代码,运用大数算法#include "afx.h"
#include "Integer.h"
#include <string>
#include <iostream>
using namespace std
//构造大数对象并初始化为零
CInteger::CInteger()
{
m_nLength=1
for(int i=0 i<BI_MAXLEN i++)m_ulValue[i]=0
}
//解构大数对象
CInteger::~CInteger()
{
}
/*大数比较
调用方式:N.Cmp(A)
返回值:若N<A返回-1;若N=A返回0;若N>A返回1
*/
int CInteger::Cmp(CInteger& A)(#include "afx.h"
#include "Integer.h"
#include <string>
#include <iostream>
using namespace std
//构造大数对象并初始化为零
CInteger::CInteger()
{
m_nLength=1
for(int i=0 i<BI_MAXLEN i++)m_ulValue[i]=0
}
//解构大数对象
CInteger::~CInteger()
{
}
/*大数比较
调用方式:N.Cmp(A)
返回值:若N<A返回-1;若N=A返回0;若N>A返回1
*/
int CInteger::Cmp(CInteger& A))
2012-05-16 11:09:35下载
积分:1
lexidaohang
乐喜婚庆公司网站导航菜单是一款基于jQuery实现的紫色菱形斜角导航条样式效果代码,是一款基于jquery实现的类似动画效果的网站导航菜单特效。伴随有鼠标滑过改变颜色特效。整体效果炫目华丽,是一款非常优秀的特效源码。该源码兼容目前最新的各类主流浏览器。(JQuery four level linkage classification menu)
2018-07-05 15:09:04下载
积分:1
MPU6050六轴传感器驱动(STM32)
MPU6050六轴传感器驱动(STM32)采用C语言编程,程序有详细中文注释。是陀螺仪科研人员和难得的宝贵学习资料。
2023-05-28 21:05:03下载
积分:1
zmodem
基于AT91M40800的zmodem代码(Based on the zmodem code AT91M40800)
2020-10-04 21:17:40下载
积分:1
CNN_GUI
matlab的二值化代码,将一副路面的图形中的边界线,显示出来(matlab' s binary code, a road graph of the boundary line, displayed)
2009-12-28 13:29:49下载
积分:1