Guest User

Untitled

a guest
Apr 5th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2. #include "string"
  3. using namespace std;
  4.  
  5. int main(){
  6.     string s("abc");
  7.     for(int i = 0; i < s.length(); i++){
  8.         cout << s[i] << endl;
  9.     }
  10.  
  11.     return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment