View previous topic :: View next topic |
Author |
Message |
Neox
Joined: 14 Mar 2007 Posts: 4 Location: Fribourg
|
Posted: Wed Apr 11, 2007 2:43 am Post subject: Headers files in D |
|
|
Hello,
im a new to D,
anyone can tell me if in D header files exist or how to emulate this concept?
i haved read a lot of pages and posts but i dont understand...
Tanks a lot, byez
Neox |
|
Back to top |
|
|
JoeCoder
Joined: 29 Oct 2005 Posts: 294
|
Posted: Wed Apr 11, 2007 10:53 am Post subject: |
|
|
D works more like java and many other newer languages where header files aren't necessary. One module can just import another. See modules in the D documentation.
If you're looking to use a C library in D, then yes, you can create headers, or D interface files, as they're sometimes called. Check out the Derelict and Bindings projects for such headers. |
|
Back to top |
|
|
Neox
Joined: 14 Mar 2007 Posts: 4 Location: Fribourg
|
Posted: Thu Apr 12, 2007 1:13 am Post subject: |
|
|
Tanks!
|
|
Back to top |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Thu Apr 12, 2007 6:30 pm Post subject: |
|
|
Jets!
_________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
|