In this exercise I am using Visual Studio Community 2017 and the header file "std_lib_facilities.h" which can be found here:
http://www.stroustrup.com/Programming/PPP2code/std_lib_facilities.h
http://www.stroustrup.com/Programming/PPP2code/std_lib_facilities.h
Chapter 11 // Exercise 13
Reverse the order of words (defined as whitespace-separated strings) in a
file. For example, Norwegian Blue Parrot becomes parrot Blue Norwegian. You
are allowed to assume that all the strings from the file will fit into
memory at once.
.
No comments:
Post a Comment