diff options
Diffstat (limited to 'doc/aapl/ex_astring.cpp')
-rw-r--r-- | doc/aapl/ex_astring.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/aapl/ex_astring.cpp b/doc/aapl/ex_astring.cpp new file mode 100644 index 00000000..710a4b62 --- /dev/null +++ b/doc/aapl/ex_astring.cpp @@ -0,0 +1,11 @@ +#include <iostream> +#include "astring.h" + +using namespace std; + +int main() +{ + String s = "hello"; + s += " there my friend"; + cout << s.data << endl; +} |