EmperorPhoenix

strings in C++

May 26th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. string inpoot = "";
  2. for (int i = 0; i<inpoot.size(); i++){
  3.     std::cout << "Character number " << i << " of the string is " << inpoot[i] << "\n";
  4. }
Advertisement
Add Comment
Please, Sign In to add comment