Hello I am a student in need of help. The problem I need solved is this:
Input 20 words and then output the words and count how many times each word has been input. For example if I input apple 5 times and banana 3 times and some other words so it adds upp to 20 it should output: apple=5 banana=3 kiwi=1 orange=1 etc..
Here is my code so far it works to some extent but if you run it you can see that it says a word has been repeated then it shows the word again but this time it says it's been repeated one less time.
It gives me an error and says that its not part of the library, do I have to download a compiler or something? Here's the error.
#ifndef __GXX_EXPERIMENTAL_CXX0X__
#error This file requires compiler and library support for the \
ISO C++ 2011 standard. This support is currently experimental, and must be \
enabled with the -std=c++11 or -std=gnu++11 compiler options.
#endif