'AChar':is not a class or namespace name

In any case more details about the error would help sort out this issue. Also a code snippet of your Char class would go a long way in helping debug the issue too.