How to use classes from another d files

Adam D. Ruppe destructionator at gmail.com
Tue Oct 22 18:31:17 UTC 2019


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


More information about the Digitalmars-d-learn mailing list