//String builder class example
// By DreamVB

#include <iostream>
#include "sbuilder.h"

using namespace std;
using std::cout;
using std::endl;


int main(int argc, char *argv[]){
	TStringBuilder sb;

	sb.Append("Company");
	sb.Append(" List\n");
	sb.AppendLine("Microsoft");
	sb.AppendLine("Adobe");
	sb.AppendLine("I.B.M");
	sb.AppendLine("INTEL");
	//Output result
	cout << sb.ToString().c_str();
	//Output length
	cout << "Length == " << sb.Length() << endl;

	system("pause");
	return 0;
}