I am having major problems. I know that you can give a declaration of a function so that you can create an instance b4 you define the function.... but i need to create an instance of this class before i define it..... is there a way to just give a declaration of a class so that it'll be able to create the type? i would just move the definition above where i create the instance but its got other classes in it and would become incredibly confusing to do that. ideas?
A class is first defined before it is instantiated.
You cannot declare a variable of an unknown type.
>> I know that you can give a declaration of a function so that you can create an instance b4 you define the function
You are confused. You cannot declare an instance of a function.