test-str.cpp.svn-base
来自「这是一段游戏修改工具的源代码.ring3功能由dephi开发,驱动是C开发.希望」· SVN-BASE 代码 · 共 21 行
SVN-BASE
21 行
#ifdef NO_FAKE
#include <iostream.h>
#include <strstream.h>
#else
#include "iostrm.h"
#endif
const int BUFFSIZE = 128;
char buff[BUFFSIZE];
int main()
{
ostrstream out(buff,BUFFSIZE);
out << "hello" << ends; // MUST have explicit ends (not needed for fake iostreams)
// at this point buff is 'hello'
cout << buff << endl;
out.seekp(0);
out << "dolly" << ends;
// shd be "dolly"
cout << buff << endl;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?