Compile main and class source.

Jaehunt jaeyoep at gmail.com
Fri Jul 5 13:08:17 PDT 2013


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?


More information about the Digitalmars-d-learn mailing list