1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

added more String examples

This commit is contained in:
Tom Igoe
2010-07-27 22:59:18 +00:00
parent 4df6fde6b5
commit 81e7814887
13 changed files with 392 additions and 54 deletions

View File

@ -37,7 +37,7 @@ class String
String( const unsigned int, const int base=10 );
String( const long, const int base=10 );
String( const unsigned long, const int base=10 );
~String() { free(_buffer); }
~String() { free(_buffer); _length = _capacity = 0;} //added _length = _capacity = 0;
// operators
const String & operator = ( const String &rhs );