Before you mention it, I've already got "#include <string>" and "using namespace std" in the code.

11-12-2006

JaWiB

Looks like width and height need to have types

11-12-2006

pikachamp

Thanks for that. I feel a bit dumb now. Unfortunately, it still won't work. So far:

Code:

string asString(bool *walls, int width, int height) {

11-12-2006

JaWiB

I don't see anything wrong with that; the problem is probably elsewhere in your code.

11-12-2006

nadroj

is the line before this any clue?

as mentioned, if your code is not excessively long try and post that so we can see if the error is somewhere else.

11-12-2006

pikachamp

Apparenty it was because I forgot to put a use a semicolon while closing a class. Unfortunately there seem to be a ton of other problems. I'm gonna try to figure them out on my own before posting again.
Thanks anyway.