Re: How to use C code in D

2017-03-24 Thread MGW via Digitalmars-d-learn
On Thursday, 23 March 2017 at 18:10:20 UTC, Dillen Meijboom wrote: Hi there, I'm learning D for a while because it's really easy to use C-code in D. The problem is that I don't really get how to deal with the data structures defined in C in D. Perhaps, it will be interesting to you. I

Re: How to use C code in D

2017-03-24 Thread Jesse Phillips via Digitalmars-d-learn
On Thursday, 23 March 2017 at 18:10:20 UTC, Dillen Meijboom wrote: Hi there, I'm learning D for a while because it's really easy to use C-code in D. The problem is that I don't really get how to deal with the data structures defined in C in D. D makes it easy to utilize C code, but there is

Re: How to use C code in D

2017-03-23 Thread Laeeth Isharc via Digitalmars-d-learn
On Thursday, 23 March 2017 at 18:10:20 UTC, Dillen Meijboom wrote: Hi there, I'm learning D for a while because it's really easy to use C-code in D. The problem is that I don't really get how to deal with the data structures defined in C in D. At one time for instance I've tried to get all

How to use C code in D

2017-03-23 Thread Dillen Meijboom via Digitalmars-d-learn
Hi there, I'm learning D for a while because it's really easy to use C-code in D. The problem is that I don't really get how to deal with the data structures defined in C in D. At one time for instance I've tried to get all environment variables on a POSIX system. I succeeded but I think it