Re: how to use curl to download a file

2011-11-02 Thread Frédéric Galusik
Le Wed, 02 Nov 2011 15:23:36 +, Graham Fawcett a écrit : On Wed, 02 Nov 2011 11:10:17 -0400, Nick Sabalausky wrote: Jesse Phillips jessekphillip...@gmail.com wrote in message news:j8rj3c$uc2$1...@digitalmars.com... etc.c.curl is meant for those that know curl and wish to use it.

Re: how to use curl to download a file

2011-11-02 Thread Frédéric Galusik
Le Wed, 02 Nov 2011 15:09:17 +, Graham Fawcett a écrit : On Tue, 01 Nov 2011 18:20:25 +, Frédéric Galusik wrote: Hi, As the curl documentation is a little bit ...wow. http://www.digitalmars.com/d/2.0/phobos/etc_c_curl.html Do someone have a simple example on how to download

Re: [beginner] Why nothing is printed to stdout ?

2011-11-01 Thread Frédéric Galusik
Le Tue, 01 Nov 2011 18:23:52 +, Graham Fawcett a écrit : On Tue, 01 Nov 2011 07:27:44 -0400, Kagamin wrote: Steven Schveighoffer Wrote: Oh I remember doing that too :) Don't feel bad, everyone does this at least once. I hate that stupid test builtin, nobody ever uses it anymore.

Re: [beginner] Why nothing is printed to stdout ?

2011-10-31 Thread Frédéric Galusik
Le Sun, 30 Oct 2011 16:44:20 -0400, Nick Sabalausky a écrit : Frédéric Galusik fr...@salixosnospam.org wrote in message news:j8j77l$pfv$1...@digitalmars.com... Hi, Can someone give me a clue on why nothing is printed to stdout ? I wish a list of files with their size. code: // import

Re: [beginner] Why nothing is printed to stdout ?

2011-10-31 Thread Frédéric Galusik
Le Mon, 31 Oct 2011 00:55:58 +0400, Dmitry Olshansky a écrit : On 30.10.2011 14:00, Frédéric Galusik wrote: Hi, Can someone give me a clue on why nothing is printed to stdout ? I wish a list of files with their size. code: // import std.stdio; import std.file; void main(string[] args

[beginner] Why nothing is printed to stdout ?

2011-10-30 Thread Frédéric Galusik
Hi, Can someone give me a clue on why nothing is printed to stdout ? I wish a list of files with their size. code: // import std.stdio; import std.file; void main(string[] args) { foreach (DirEntry e; dirEntries(., SpanMode.shallow)) { writeln(e.name, \t, e.size); } } //

Re: [beginner] Why nothing is printed to stdout ?

2011-10-30 Thread Frédéric Galusik
Le Sun, 30 Oct 2011 12:17:24 +0100, simendsjo a écrit : Works for me on 2.055 and 2.056 on windows. What compiler and OS are you using? c:\tempdmd -w test.d c:\temptest|more .\.a.d.un~ 5326 .\.asciidoc_user-guide.txt.un~ 942 (...) Tested with dmd 2.055 and now 2.056 on Linux ++