I'm trying to add support for unicode to my app in D and having
issues.
string str = "Pokémon No";
writeln(str);
this outputs:
Pok├®mon No
what I want to do is change the funky character such that the
string reads:
Pok\u00e9mon No
as \u00e9 == é
how can i do this in D?
}
}
pi = (hits / n) * 4.f;
writeln(pi);
}
}
But the result is always 0 because my var hits is set to zero before I try
to calculate PI. But why? Please help me.
Nice wishes
Fabian
Thank you - now it works :)
oh ... I see. Thank you ;)
= readNumber!int();
writeln(n);
float f = readNumber!float();
writeln(f);
}
catch(Exception e)
{
writeln(e.msg);
}
}
Can I use that function or is there a cleaner way to do this job?
Greetings
Fabian
Thanks a lot. That's exactly what I was searching for.
Andrej Mitrovic wrote:
This: https://github.com/he-the-great/JPDLibs/tree/cmdln/cmdln
The HTML docs explain how to use it. Not mine, but I think this would
be a sweet addition to Phobos imo.
Thank you. :)
Ok - Good to know. Thank you ;)
of renaming and moving everything. This was to
make porting easier. It also combined dwt-linux, dwt-windows dwt-mac under one
repository.
Fabian,
I think you should check that Tango is properly installed. From the repo:
The sc.ini/dmd.conf of the DMD in the PATH needs to have all
necessary parameters
I decided to use gtkD but I would be very glad if anybody is able to
solve my problem.
Oh - yeah.
Thank you - English can be so easy :D
++ compiler has got a bad code
optimization. Is that true? In comparison with the Microsoft Visual
Studio compiler.
Greetings Fabian
Okay - Thank you.
Greetings Fab
Is D1.x still supported and under development?
who can help me?
I believe it's possible to use DWT2 and Tango - isn't it?
Greetings Fabian
I'm very surprised that there are so many Germans who use D. Maybe the
German D book is a reason for that. I don't know but it's pretty cool.
Das ist ja klasse.
Deutschland, Österreich, Schweiz - alle da
But I try to install DWT2. Do you understand?
I've got the Tango book but it's pretty difficult to install DWT2. So I
can't build GUI apps.
Greetings Fabian
answers.
Greetings Fabian
PS: If you want to contact me you are allowed to write an Email to me.
contact-...@freemail.de
. Connecting to that (my bad
English) I have another stupid question: What does think accounts mean?
Greetings Fabian
too bad :-(
How do you use D? What are your fields of application?
Greetings Fabian
PS: Are you a native German speaker?
Germany
Fabian Classen
Am Wed, 24 Feb 2010 19:58:59 + schrieb Robert Clipsham:
On 24/02/10 19:46, Fabian Classen wrote:
Hi
I am new in D.
I've the following problem. I want to use a old function out of the C
programming language. I'm using D, with the dmd compiler, and the Tango
lib. My dirty solution
23 matches
Mail list logo