How to use classes from another d files

Vinod K Chandran kcvinu82 at gmail.com
Tue Oct 22 18:25:08 UTC 2019


On Tuesday, 22 October 2019 at 17:38:58 UTC, Adam D. Ruppe wrote:
> On Tuesday, 22 October 2019 at 17:34:51 UTC, Vinod K Chandran 
> wrote:
>> Hi all,
>> I am new to D. But some fair experience with vb.net. I was 
>> playing with D classes.  I wrote a class in a D file.
>> The file name is "classFile.d"
>
> did you compile with dmd -i or list both files on the dmd 
> command line?

Thanks for the reply. Nope. I just typed this code in VS Code and 
hit the run button. Thats all. i think this cmd business will be 
difficult for me.


More information about the Digitalmars-d-learn mailing list