On Tuesday, 12 May 2015 at 03:20:34 UTC, TJB wrote:
I'm sure this question has been asked a thousand times. I've even asked similar questions in the past (I've been away for quite a while). But all of the tutorials that I have found assume quite a lot and leave a lot to be inferred. Is there a simple step by step tutorial demonstrating how to call C code from D? With the separate file contents and names and compilation instructions?

Thanks,
TJB

Start with

http://wiki.dlang.org/Bind_D_to_C
http://dlang.org/interfaceToC.html
http://dlang.org/htod.html
http://wiki.dlang.org/Converting_C_.h_Files_to_D_Modules

Best regards,
     Vadim
  • Binding to C TJB via Digitalmars-d-learn
    • Re: Binding to C Vadim Lopatin via Digitalmars-d-learn
    • Re: Binding to C Cassio Butrico via Digitalmars-d-learn

Reply via email to