On Tue, 26 Aug 2014 12:26:43 +0000
nikki via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:

> this errors witha : Error: function test.lineair_interpolation
> (float p) is not callable using argument types (), but I don't
> really know where to go from here.
you need to use '&' to get function pointer. i.e.

  writeln(interpolate(100,100,10, &lineair_interpolation));

Attachment: signature.asc
Description: PGP signature

Reply via email to