HELP mega error!

Nov 29, 2011 at 9:48pm
I'm in the middle of making a long multy function text based adventure game.

And now out of nowhere all of my couts are undefined!

In the main function the error says "Its ambiguous"


and the last one I tried to use says "this declaration has no storage class or type specifier"
Nov 29, 2011 at 9:50pm
One error message at a time. Start with the first error message what does it say?
Nov 29, 2011 at 9:53pm
I can't compile cause its so incomplete. But the message that pops up when I put my moue over the cout's is "is ambiguous"
Nov 29, 2011 at 9:53pm
sounds like you might have missed a semicolon.

without an example of the code, I really don't know.

i guess you could make sure you have <iostream> included?

edit:
what also might have happened is that your files aren't pulling the information correctly from the included files.

i am in the process of making a MUD, and this happened to me. i had MULTIPLE header files included in my source files, and was getting random errors. i put all the header files into one "database.h" header, and the issue resolved itself.
Last edited on Nov 29, 2011 at 10:58pm
Topic archived. No new replies allowed.