testwarcollector.cpp

来自「ftpserver very good sample」· C++ 代码 · 共 38 行

CPP
38
字号
#include "StdAfx.h"#include <assert.h>#include <iostream>#include "WarCollector.h"using namespace std;void TestWarCollector(){    cout << "Testing WarCollector" << endl;    WarCollector<char> wc;    string thatsit = " Thats it";    wc << 'p'         << 'o'         << 'r'         << 't'        << (unsigned char)' '        << (war_port_t)1234        << " int "        << 123456        << " neg. int "        << -123456        << " uint "        << 0xffffffff        << " signed 64 bit "        << (war_int64_t)1234567890        << thatsit        << war_endl;    cout << wc.GetValue().c_str();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?