How to use classes from another d files

Vinod K Chandran kcvinu82 at gmail.com
Thu Oct 24 10:15:23 UTC 2019


On Tuesday, 22 October 2019 at 18:31:17 UTC, Adam D. Ruppe wrote:
> On Tuesday, 22 October 2019 at 18:21:36 UTC, Vinod K Chandran 
> wrote:
>> But what if there is too many include files ?
>
> The dmd -i thing will do that for you
>
> dmd -i main.d
>
> and it will automatically find the others, assuming they are 
> laid out so the module/import name matches the file name

@Adam D. Ruppe,
Thanks. It worked. :)


More information about the Digitalmars-d-learn mailing list