View Single Post
Old Jan 13th, 2007, 4:31 PM   #2
Tim
Unverified User
 
Join Date: Dec 2006
Location: Bristol UK
Posts: 19
Rep Power: 0 Tim is on a distinguished road
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.
Tim is offline   Reply With Quote