Write down C++ program to read following text (given below). Count occurrences of each word in text and keep this count in list of elements containing (word, occurrence count) pairs. Your program then must print this list to program output screen.
"Classes have property of information hiding. This means that though class objects may know how to communicate with one another across well-defined interfaces, classes generally are not permitted to know how other classes is implemented-implementation details are hidden in the classes themselves. Surely it is possible to drive car effectively without knowing details of how engines, transmissions and exhaust systems work internally. We will see why information hiding is so important to good software engineering."