User Tools

Site Tools


cpp:isteams

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cpp:isteams [2020/05/17 18:09] gthanoscpp:isteams [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 66: Line 66:
     // Read a line of maximum size 255 bytes.     // Read a line of maximum size 255 bytes.
     cin.getline(str, 256);     cin.getline(str, 256);
-    cout << str <<  endl;+    cout << " -> " << str <<  endl;
   }   }
 } }
Line 85: Line 85:
   while(!cin.eof()) {   while(!cin.eof()) {
     getline(cin, str);     getline(cin, str);
-    cout << str <<  endl;+    cout << " -> " << str <<  endl;
   }   }
 } }
 </code> </code>
  
cpp/isteams.1589738940.txt.gz · Last modified: 2020/05/17 17:09 (external edit)