#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
VS2010串口例程,VC2010写的串口调试助手,开发环境为VS2010,使用的uncioud环境,纯API,不错的C++串行通讯例子程序,希望能对串口学习的朋友有所帮助 (VS2010 serial routines, VC2010 write serial debugging assistant development environment VS2010, using uncioud environment, pure API, a good example of C++ serial communication program, hoping to help a friend learn the serial port)
Excel操作,用语VISUAL C++6.0 ,好东西来着,可以通过此做报表功能(Excel operations, terminology VISUAL C++ 6.0, good things come forward, you can make statements through this function)