How to use classes from another d files

Vinod K Chandran kcvinu82 at gmail.com
Thu Oct 24 10:18:25 UTC 2019


On Tuesday, 22 October 2019 at 18:33:32 UTC, Ali Çehreli wrote:
> On 10/22/2019 11:25 AM, Vinod K Chandran wrote:
> > On Tuesday, 22 October 2019 at 17:38:58 UTC, Adam D. Ruppe
> wrote:
> >> [...]
> Chandran wrote:
> >>> [...]
> playing
> >> [...]
> command line?
>
> That: The -i switch is the answer to your question in the other 
> post ("what if there is too many include files").
>
> > Thanks for the reply. Nope. I just typed this code in VS Code
> and hit
> > the run button. Thats all.
>
> But not sufficient. :) IDEs like VS Code have a way of 
> describing what your project involves. You need to add the two 
> files to you "project". (I don't know the details for your IDE.)
>
> > i think this cmd business will be difficult
> > for me.
>
> Yes, IDEs make it convenient.
>
> Ali

@Ali Çehreli,
Thanks for the detailed reply. I have tested with "dmd -i" and it 
worked.


More information about the Digitalmars-d-learn mailing list