Hey guys I am new at c++ I was just wondering if someone could show me how to print a string in reverse order(for example: "today is Wednesday " to "Wednesday is today"). My professor said we should begin with a null string and build it one word at a time. i have been working on this for weeks, and cannot figure it out. If someone can help me out,I would greatly appreciate it!!!
Thank You,
#include <iostream>
#include <fstream>
#include <string>
using namespace std;