On Wed, 01 Sep 2010 00:51:13 -0500, Jonathan M Davis
wrote:
Is there a good place to look on how to make ddoc look like what's on the
website, or is the best option to dig through what comes with the
compiler and
figure out what it's doing?
- Jonathan M Davis
Check the Phobos ddoc files
Is there a good place to look on how to make ddoc look like what's on the
website, or is the best option to dig through what comes with the compiler and
figure out what it's doing?
- Jonathan M Davis
Hello. Randomly bored tonight.
Motivated by this:
http://stackoverflow.com/questions/3540596/mixing-c-and-d-code-in-the-same-program,
I was trying to get c to call d. I can't remember; is it actually possible?
64 bit Fedora and gcc; here's what I have:
$ cat test.d
import std.c.stdio;
ext
Oooops, I meant:
std.stdio.StdioException: Bad file descriptor
type test.d | test.exe
works, but waits on exit:
test.exe | type test.d
works fine:
test.exe < test.d
Andrej Mitrovic Wrote:
> I get the same thing on XP.
>
> If you swap the two like so:
> type.exe | type.d
>
> Then it works but
I get the same thing on XP.
If you swap the two like so:
type.exe | type.d
Then it works but it will wait on exit.
This works nicely:
type.exe < type.d
Joel Christensen Wrote:
> >>
> Stanislav Blinov writes:
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encodin
>>
Stanislav Blinov writes:
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hello,
I'm receiving strange results with reading stdin on Windows 7. Consider
this code:
module test;
import std.stdio;
void main(string[] args)
{
foreach (int i, st
Thanks for the fix up Philippe.
Just a little note. Where it says 'DynMethod m', you can put 'auto m',
but I'm wondering is it some times clearer to have the class name even
though 'auto' works.
"torhu" wrote in message
news:i5cqgo$37...@digitalmars.com...
> On 29.08.2010 07:06, Nick Sabalausky wrote:
>> ubyte myByte = 0x09;
>> writef("%%%.2X", myByte);
>> writef("%%%02X", myByte);
>
> On codepad.org (DMD 1.026 last time I checked), this prints this:
> %09%09
>
> So it's probably a bug i
Eduardo Cavazos wrote:
Hello,
Here's a short program which creates a type for points and overloads '+'
to do element wise addition as well as addition to floats, however it
produces an error:
--
import std.stdio ;
struc
Hello,
Here's a short program which creates a type for points and overloads '+'
to do element wise addition as well as addition to floats, however it
produces an error:
--
import std.stdio ;
struct Pt
{
float x , y ;
Pt
10 matches
Mail list logo