|
Well if you read the error message properly and try to do some of your own thinking it will help you.
What do you think the first line, multiple definition of `show' ", and the last line, "first defined here" means?
When you have globals (which are a bad idea) you run the risk of have to Identifiers with the same name. This if probably what is happening here. The name show is used somewhere in the the depths of the C++ library you are using.
To solve it you will have to change your identifier name to something else or not have it as a global.
|