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 5
Write a program that reads strings and for each string outputs the character
classification of each character, as defined by the character classification
functions presented in section 11.6. Note that a character can have several
classifications (e.g, x is both a letter and an alphanumeric).
classification of each character, as defined by the character classification
functions presented in section 11.6. Note that a character can have several
classifications (e.g, x is both a letter and an alphanumeric).
This was suspiciously easy and it makes me wonder if I did it correctly.
No comments:
Post a Comment