stashing kte files
This commit is contained in:
25
kte/main.cc
Normal file
25
kte/main.cc
Normal file
@@ -0,0 +1,25 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "AppendBuffer.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
static const string TestString2 = " This is a test of the self-destruct mechanism.";
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
kte::AppendBuffer buf;
|
||||
|
||||
buf.Append('*');
|
||||
|
||||
cout << "append buffer\n";
|
||||
buf.Append("Hello, world.");
|
||||
|
||||
cout << "append buffer 2\n";
|
||||
buf.Append(TestString2);
|
||||
buf.Append('*');
|
||||
cout << buf << "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user