Compile main and class source.
Namespace
rswhite4 at googlemail.com
Fri Jul 5 13:14:42 PDT 2013
On Friday, 5 July 2013 at 20:08:18 UTC, Jaehunt wrote:
> Hi, I am new to D. I have no experience any language background.
>
> I have main function calling class "ABC" and class "ABC".
>
> I save separately like main.d and classABC.d.
>
> When I compile "dmd main.d classABC.d", it says "main.d(45);
> Error: undefined identifier ABC".
>
> How can i solve it?
Did you imported classABCd in main.d? Else it would be helpful if
you post some code.
More information about the Digitalmars-d-learn
mailing list