SOL9 Sample: StringBuffer

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * StringBuffer.cpp 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */



// SOL9 2009/02/22

#include <sol/StringBuffer.h>
#include <sol/Locale.h>

void _tmain(int argc, TCHAR** argv)
{
  Locale locale;


  StringBuffer buffer;
  buffer.append(_T("This"));

  buffer.append(_T(" is"));
  buffer.append(_T(" a"));
  buffer.append(_T(" SOL9 StringBuffer class"));

  buffer.append(_T(" Version: "));
  buffer.append(3);

  const TCHAR* string = buffer.getBuffer();
  
  _tprintf(_T("%s\n"), string);

}

Last modified: 2 May 2016

Copyright (c) 2016 Antillia.com ALL RIGHTS RESERVED.