I know D already has while loop, but because of its advance开发者_JAVA百科d features I would like to see what it would look like if while loop was implemented in code.
I suppose using phobos.etc.c.sqlite3 binding. Compiling sqlite3.c using a C compiler to make a .o file and then link it with my program.
When I was working in C#, I found the gppg and gplex parser/lexer generators to be perfect for my needs. I\'m wondering if there\'s so开发者_JAVA技巧mething similar for the D programming language (i.e
I have some trouble开发者_如何转开发 compiling lodepng (http://lodev.org/lodepng/) for D into my project.
Is it possible to allocate 2-dimensional arrays (and higher) in D? The following does not work: void create2DArray(uint w, uint h) {
If I write enum chars = digits ~ uppercase; will the string be concatenated at compile time? I\'m assuming it will. If I replace it with a string literal or a CTFE function I can\'t measure any sig
I\'m trying to convert some Phobos code to its Tango equivalent, but I am stuck on this piece of code that I don\'t completely understand:
I found examples of lazy evaluation of function arguments in D http://www.digitalmars.com/d/2.0/lazy-evaluation.html
I need to split an BitArray (from std.bitmanip) into its halfs. Until now I\'ve found out that slicing is not implemented, iterating over it and appending or assigning produces Out of range exception
I\'m trying to install DMDScript-tango on my win32 D1-Tango setup. The version I\'m using is the 0.99.9 Kai bundle .