FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Headers files in D

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
Neox



Joined: 14 Mar 2007
Posts: 4
Location: Fribourg

PostPosted: Wed Apr 11, 2007 2:43 am    Post subject: Headers files in D Reply with quote

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
View user's profile Send private message
JoeCoder



Joined: 29 Oct 2005
Posts: 294

PostPosted: Wed Apr 11, 2007 10:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Neox



Joined: 14 Mar 2007
Posts: 4
Location: Fribourg

PostPosted: Thu Apr 12, 2007 1:13 am    Post subject: Reply with quote

Tanks!
Very Happy
Back to top
View user's profile Send private message
csauls



Joined: 27 Mar 2004
Posts: 278

PostPosted: Thu Apr 12, 2007 6:30 pm    Post subject: Reply with quote

Jets!
Very Happy
_________________
Chris Nicholson-Sauls
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group