D - File : Stream
- Charles Sanders (12/12) Sep 20 2003 When I run the following code:
- J C Calvarese (6/25) Sep 20 2003 It seems like your code should work, but since it doesn't you might try
- Charles Sanders (8/33) Sep 21 2003 Ok this works , but this also touches on another subject.
- Walter (4/8) Sep 22 2003 Post them here with a "BUG" in the subject. It would be even better to l...
- Charles Sanders (14/23) Sep 22 2003 Ok Ill try to get a patch for it, however when I go to compile phobos, u...
When I run the following code: import c.stdio; import stream; int main(char [] [] args) { File o = new File("non_existant",FileMode.Out); return 1; } I get : Error: file 'non_existant' not found It looks in the source like it should create it, this is windows 2000 dmd .73. C
Sep 20 2003
Charles Sanders wrote:When I run the following code: import c.stdio; import stream; int main(char [] [] args) { File o = new File("non_existant",FileMode.Out); return 1; } I get : Error: file 'non_existant' not found It looks in the source like it should create it, this is windows 2000 dmd .73. CIt seems like your code should work, but since it doesn't you might try this code which has worked for me in the past: File o = new File(); o.create("non_existant"); Justin
Sep 20 2003
Ok this works , but this also touches on another subject. Walter what do you want us to do when we find bugs in Phobos ? Would you prefer us to post a patch to the newsgroup, or is there some other way you want this handled ? C "J C Calvarese" <jcc7 cox.net> wrote in message news:bkj2tb$gf7$1 digitaldaemon.com...Charles Sanders wrote:dmdWhen I run the following code: import c.stdio; import stream; int main(char [] [] args) { File o = new File("non_existant",FileMode.Out); return 1; } I get : Error: file 'non_existant' not found It looks in the source like it should create it, this is windows 2000.73. CIt seems like your code should work, but since it doesn't you might try this code which has worked for me in the past: File o = new File(); o.create("non_existant"); Justin
Sep 21 2003
"Charles Sanders" <sanders-consulting comcast.net> wrote in message news:bkkuee$132j$1 digitaldaemon.com...Ok this works , but this also touches on another subject. Walter what do you want us to do when we find bugs in Phobos ? Would you prefer us to post a patch to the newsgroup, or is there some other way you want this handled ?Post them here with a "BUG" in the subject. It would be even better to look at the phobos code and submit a fix!
Sep 22 2003
Ok Ill try to get a patch for it, however when I go to compile phobos, using the command digc *.d -lib=phobos I get : module math is in multiple packages math Same with dmd *.d I dont know if all these questions Im asking or stupid or not so Im just going to keep asking them untill someone says something ;). C "Walter" <walter digitalmars.com> wrote in message news:bknajj$10ug$1 digitaldaemon.com..."Charles Sanders" <sanders-consulting comcast.net> wrote in message news:bkkuee$132j$1 digitaldaemon.com...youOk this works , but this also touches on another subject. Walter what do you want us to do when we find bugs in Phobos ? Wouldyouprefer us to post a patch to the newsgroup, or is there some other waylookwant this handled ?Post them here with a "BUG" in the subject. It would be even better toat the phobos code and submit a fix!
Sep 22 2003