added String.cpp

This commit is contained in:
2015-03-18 14:45:52 +00:00
parent c090a950c7
commit b15016a997
5 changed files with 88 additions and 8 deletions

View File

@ -88,6 +88,8 @@ void t2()
{
QSE::MbString x(QSE_MT("this is a string"));
qse_printf (QSE_T("x: [%hs] %d %d\n"), x.getBuffer(), (int)x.getCapacity(), (int)x.getLength());
x.format (QSE_MT("what is this %d %d"), 10, 20);
qse_printf (QSE_T("x: [%hs] %d %d\n"), x.getBuffer(), (int)x.getCapacity(), (int)x.getLength());
}
int main ()