d
How to implement while loop in D?
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.[详细]
2023-03-19 23:54 分类:问答What is the easiest way to use Sqlite in D program on Ubuntu?
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.[详细]
2023-03-19 11:23 分类:问答gppg/gplex equivalent in D?
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[详细]
2023-03-18 01:27 分类:问答D lodepng compilation error
I have some trouble开发者_如何转开发 compiling lodepng (http://lodev.org/lodepng/) for D into my project.[详细]
2023-03-17 23:50 分类:问答Allocate multi-dimensional array in D at runtime
Is it possible to allocate 2-dimensional arrays (and higher) in D? The following does not work: void create2DArray(uint w, uint h) {[详细]
2023-03-17 08:37 分类:问答Compile time evaluation
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[详细]
2023-03-16 20:07 分类:问答DMD Phobos-to-Tango conversion: va_arg - what is it? and what do I replace it with?
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:[详细]
2023-03-16 14:00 分类:问答infinite Datastructures in D
I found examples of lazy evaluation of function arguments in D http://www.digitalmars.com/d/2.0/lazy-evaluation.html[详细]
2023-03-15 20:53 分类:问答How to split a BitArray
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[详细]
2023-03-15 16:59 分类:问答Building tangobos to work with DMDScript / Getting ECMA Scripting to work with D1-Tango
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 .[详细]
2023-03-15 03:40 分类:问答