file input output

program need to read from text file and "rotate" the data and output it into a new text file.
define rotate?
what have you done so far?
OP: well there's a std::rotate() but from your cryptic post there's no way to tell if this is what you're looking for:
http://en.cppreference.com/w/cpp/algorithm/rotate
Topic archived. No new replies allowed.