//please why is the later part of my code not working. it is suppose to output to console the values of the elements in the vector "story_letters"
include
include
include
include
using namespace std;
int main(){
string story;
vector<char>story_letters;
cout<<"Enter your story to be encrypted"<<endl;
getline(cin,story);
for(int i=0;i<=story_letters.size();i++){
story_letters[i]=story[i];
}
for(int j=0;j<=story.size();j++) {
cout<<story_letters[j]<<endl;}
}
Top comments (1)