Function to Use String

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
sweilz
Date:
Fri Nov 13 08:12:39 2015 +0000
Parent:
0:624614538ca8
Commit message:
String in Mbed

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Nov 13 08:02:37 2015 +0000
+++ b/main.cpp	Fri Nov 13 08:12:39 2015 +0000
@@ -1,17 +1,11 @@
 #include "mbed.h"
 #include <string>
-//------------------------------------
-// Hyperterminal configuration
-// 9600 bauds, 8-bit data, no parity
-//------------------------------------
 
 Serial pc(SERIAL_TX, SERIAL_RX);
 
-
 int main()
 {
-    //char* txt[]={"Hello\n","World","My Name is Liews"};
-
+   
     string txt("Hello World My Name is Liews");
     string str;