Original Post
I am writing a program that will take what a user enters and reverses it however I''ve been working on a problem for about an hour and have not figured it out yet. The code in question looks like this:
Now that works fine and dandy except when I loop the program over again it does not let me input another phrase nor does it even print the backwards phrase a second time. If you need more source just let me know.
cout<<"Enter a word or phrase \n"; cin.getline(phrase, 499); |