Re: Dub needs some additions

2016-01-23 Thread Igor via Digitalmars-d
On Saturday, 23 January 2016 at 20:54:36 UTC, develop32 wrote: On Saturday, 23 January 2016 at 20:24:05 UTC, Igor wrote: Some simple extensions to dub are required for proper windows support: 1. The Ability to generate full build selections for Visual D. I only get Win32 when using `dub

Dub needs some additions

2016-01-23 Thread Igor via Digitalmars-d
Some simple extensions to dub are required for proper windows support: 1. The Ability to generate full build selections for Visual D. I only get Win32 when using `dub generate VisualD`. Win64 support should be added, along with alternate compiler support. (GDC and LDC) 2. The ability to

Dmd sc.ini and VS do not work well together!

2016-01-23 Thread Igor via Digitalmars-d
I feel like I am in the cave man times. I installed Dmd2 from scratch. VisualD x64 project would not compile due to libucrt.lib not being found. Using Process Monitor, it seems that dmd is looking all over the place for libucrt.lib but can't find it. Check out sci.ini has some weird

Re: Dmd sc.ini and VS do not work well together!

2016-01-23 Thread Igor via Digitalmars-d
On Sunday, 24 January 2016 at 00:46:32 UTC, Walter Bright wrote: Sucking the life force from D users is all the sustenance I need. Lol, ok! ;) Well, Sorry, I don't have much life force to give!

Re: Dub needs some additions

2016-01-23 Thread Igor via Digitalmars-d
On Sunday, 24 January 2016 at 00:24:27 UTC, develop32 wrote: On Saturday, 23 January 2016 at 21:24:27 UTC, Igor wrote: Ah, yeah, that makes sense. To me personally setting project working directory to $(OUTDIR) when generating would be nice. Doesn't sound like a hard thing to do, I'll try

Re: Dmd sc.ini and VS do not work well together!

2016-01-23 Thread Igor via Digitalmars-d
On Sunday, 24 January 2016 at 02:59:02 UTC, Mike Parker wrote: On Saturday, 23 January 2016 at 23:49:23 UTC, Igor wrote: If editing a configuration file is so difficult, you should use the installer. It will find your Microsoft tool installations and configure everything for you. Please

Representation of a tree

2014-07-04 Thread Igor via Digitalmars-d
Hello, I want to represent a tree node in D. I think if struct works for it: struct Node { Node* l, r; } But can I use pointers? Will GC treat them properly? I'm leaning to think it should be okay.

Auto and empty array

2014-06-29 Thread Igor via Digitalmars-d
In case I want to create a new array with size I know, it's very convenient to use auto: auto a = new int[](13); But if I want to create a new, empty array? Then using auto is not convenient and I have: auto a = new int[](0); It seems a bit bloated, compared to int[] a = []. I like using auto

sscanf replacement in D

2014-06-15 Thread Igor via Digitalmars-d
Hi, I came to D from the C++ world. What is sscanf replacement? std.streams seems deprecated, std.stdio doesn't offer something like readf for string. What should I use?

Re: sscanf replacement in D

2014-06-15 Thread Igor via Digitalmars-d
On Monday, 16 June 2014 at 01:08:33 UTC, safety0ff wrote: On Monday, 16 June 2014 at 01:05:46 UTC, Igor wrote: Hi, I came to D from the C++ world. What is sscanf replacement? std.streams seems deprecated, std.stdio doesn't offer something like readf for string. What should I use? std.format

<    1   2