How to take input file, reverse word order, write to output file in C++
问题 Take the contents of an input text file and write them in reverse order of words to an output file. Your program can ignore line breaks. You will need to use arrays. (unnecessary crap removed) Aaaaah, panic, please help! EDIT: What I have so far. Still lost on how to reverse word order now. //Kristen Korz //CIS 22A //This program reads an input file and writes the words in reverse order to an output file. #include <iostream> #include <fstream> using namespace std; int main() { //create and