stashing kte files

This commit is contained in:
2025-05-01 15:35:19 -07:00
parent 59dddd91da
commit 0f8b26ad64
5 changed files with 175 additions and 0 deletions

25
kte/main.cc Normal file
View 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";
}