Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- #include <map>
- #include <algorithm>
- #include <string>
- using namespace std;
- int main()
- {
- cout << endl << "Give me a string for convert." << endl;
- string message;
- cin >> message;
- vector <char> v;
- for(int i=0; i++;){
- if(message[i] == '/0'){
- break;
- }
- else{
- v.push_back(message[i]);
- }
- }
- for(unsigned int i=0; i<v.size(); i++){
- cout << v[i] << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement