On Wednesday, 21 March 2018 at 18:50:18 UTC, Adam D. Ruppe wrote:
On Wednesday, 21 March 2018 at 18:44:12 UTC, realhet wrote:
Compiling this I get an error: "formattedRead: cannot deduce
arguments from (string, string, float, float, float)"
What compiler version are you using? The newest versi
On Wednesday, 21 March 2018 at 18:44:12 UTC, realhet wrote:
Compiling this I get an error: "formattedRead: cannot deduce
arguments from (string, string, float, float, float)"
What compiler version are you using? The newest versions allow
this code, though the old ones require an intermediate v
On 03/21/2018 11:44 AM, realhet wrote:
float x,y,z;
if(formattedRead(" vertex -5.1 2.4 3.666".strip, "vertex %f %f
%f", x, y, z)){
writefln("v(%f, %f, %f)", x, y, z);
}
formattedRead wants to modify the source, so it takes it by reference,
which rvalues cannot be passed for.
Hi,
I just got this problem and since an hour can't find answer to it.
float x,y,z;
if(formattedRead("vertex -5.1 2.4 3.666".strip, "vertex %f
%f %f", x, y, z)){
writefln("v(%f, %f, %f)", x, y, z);
}
Compiling this I get an error: "formattedRead: cannot deduce
arguments from (s