D - modules and functions
- Dominik Egarter (4/4) Nov 10 2003 Hello!
- J C Calvarese (8/14) Nov 10 2003 I've attached a simple example.
- Dominik Egarter (5/14) Nov 11 2003 Thanks a lot, my problem was that I did not compile and link them
Hello! I am really new programming in D. Can anybody show me how to implement functions in a module and how to use them??? Thx, Dominik
Nov 10 2003
Dominik Egarter wrote:Hello! I am really new programming in D. Can anybody show me how to implement functions in a module and how to use them??? Thx, DominikI've attached a simple example. If you're looking for more simple examples, you might want to look the examples and tutorial on my webpage. (Some of them may be a little out of date since all of the standard modules have been renamed in the latest version of DMD.) Justin http://jcc_7.tripod.com/d/
Nov 10 2003
J C Calvarese schrieb:I've attached a simple example. If you're looking for more simple examples, you might want to look the examples and tutorial on my webpage. (Some of them may be a little out of date since all of the standard modules have been renamed in the latest version of DMD.) Justin http://jcc_7.tripod.com/d/Thanks a lot, my problem was that I did not compile and link them together: i used dmd mainfile.d and dmd mod.d, but with the makefile it really works. thx, dominik.
Nov 11 2003