www.digitalmars.com         C & C++   DMDScript

news.digitalmars.com - digitalmars.D.learn

Aug 09    dirEntries() does not do source files *.d (3)
Aug 08    Fix template parameter (4)
Aug 08    "only" vs "[]" (2)
Aug 07    How do I initialize a templated constructor? (15)
Aug 07    Main foreach loop fails when another foreach is added (3)
Aug 07    Acess variable that was set by thread (20)
Aug 07    Supporting Arabic in GUI (7)
Aug 07    Verbosity in D (17)
Aug 06    "chain" vs "~" (9)
Aug 05    Obscure Isssue #1 (7)
Aug 04    Unittest Absurdity (16)
Aug 04    Hacking C code vs D code (4)
Aug 04    curses/ncurses liberary in D (9)
Aug 04    CMake and D (7)
Aug 04    code review: splitIds from DConf '22 day 3: saving a sort and "getting (2)
Aug 04    Ranges (26)
Aug 04    Arbitrary precision decimal numbers (8)
Aug 03    BigInt.toString (5)
Aug 03    MMFile usage (2)
Aug 03    Obsecure problem 2 (12)
Aug 03    How to cast away shared? (3)
Aug 02    Request assistance resolving linker error: Undefined symbol(s) for (5)
Aug 02    How to find all modules in a package? (6)
Aug 02    Write binary data as a file (4)
Aug 01    A look inside "filter" function defintion (8)
Aug 01    Converting JSONValue to AssociativeArray. (4)
Aug 01    Breaking ";" rule with lambda functions (19)
Aug 01    never seed this kind problem with localtime_r (2)
Aug 01    toString doesn't compile with -dip1000 switch (4)
Jul 31    Combining JSON arrays into a single JSON array -- better way than (10)
Jul 31    How to work with coverage data (1)
Jul 31    How to check if a class has a specific overload for member x? (3)
Jul 31    Interfacing with user-supplied binary or obj file (2)
Jul 30    Obsecure problem 1 (17)
Jul 29    Does anyone here know how to create a Telegram bot in D? (4)
Jul 29    A converting problem in using "among" with arrays (6)
Jul 29    Is this a violation of const? (12)
Jul 29    "strstr" D equivalent (8)
Jul 28    "strtok" D equivalent (9)
Jul 28    BASIC "sgn" function equivalent (10)
Jul 28    Iterating over mixin template members (1)
Jul 27    Build for i586 (18)
Jul 27    Some user-made C functions and their D equivalents (32)
Jul 27    BetterC Name Mangling Linker Errors (3)
Jul 27    Exclamation symbol "!" within functions syntax (6)
Jul 26    Particular exceptions names (6)
Jul 25    "string" data type with readln (3)
Jul 25    does the format of coverage files have a name? (2)
Jul 25    char* pointers between C and D (11)
Jul 24    Using "%s" with inputting numberic values (3)
Jul 24    Using LDC2 with --march=amdgcn (3)
Jul 23    please help me to reverse a function call order (13)
Jul 22    OK to do bit-packing with GC pointers? (8)
Jul 22    mixin template bug with opBinary? (5)
Jul 22    Vibe.d conectting to a mongo replica set (1)
Jul 20    "Memory allocation failed" on big array (3)
Jul 20    Working with arrays (flatten, transpose, verfify rectangular) (7)
Jul 19    Expanding CTFE code during compilation (13)
Jul 19    Choosing the correct compiler version (7)
Jul 18    std.signals: Error: static assert: "Aliases to mutable thread-local (3)
Jul 16    File.write introduces \r regardless of presence (4)
Jul 14    Unable to use map() and array() inside a class-field's initializer. (3)
Jul 13    Using Sequence Range as a SortedRange. (3)
Jul 13    How can I convert a file encode by CP936 to a file with UTF-8 encoding (3)
Jul 12    Why does inputRangeObject fail to derive correctly for (6)
Jul 12    curl: byChunkAsync and onProgress (1)
Jul 12    null == "" is true? (33)
Jul 12    How to dynamically calculate an index? (3)
Jul 12    How can I match every instance of a template type (struct)? (8)
Jul 11    vectorization of a simple loop -- not in DMD? (18)
Jul 10    How to debug thread code (3)
Jul 09    How to obtain Variant underlying type? (12)
Jul 09    Ascertaining! (2)
Jul 08    Is there any implementation of a 128bit integer? (5)
Jul 08    Unwrap variadic template into vararg of pointers of the same types (5)
Jul 08    Cannot copy void[] to void[] in safe code? (3)
Jul 06    Background thread, async and GUI (dlangui) (16)
Jul 04    vibe.d Serialize/Deserialize SumType to/from json (2)
Jul 02    Importing module from the perspective of submodule. (2)
Jul 01    How to call a function from a dll created with d ? (26)
Jul 01    How to check if something can be null (5)
Jul 01    dlang bug - accessing module variable from method segfaults only when (9)
Jun 30    vibe.d community/forum/whatever ? (1)
Jun 28    ePub/Mobi/AZW3/PDF of Phobos Runtime Library (9)
Jun 25    How can I check if a type is a pointer? (5)
Jun 23    Null terminated character (4)
Jun 23    DIP1000 (20)
Jun 23    Reading parquet files from D (2)
Jun 23    How to use templates in a separate library? (4)
Jun 22    Python <==> d call both ways example (with PyD and autowrap)? (5)
Jun 22    Static Initialization of Structs syntax (3)
Jun 22    get debug information for Deprecation warning (1)
Jun 21    Better way to achieve the following (6)
Jun 21    destroy and safe (14)
Jun 20    Enforce not null at compile time? (4)
Jun 20    Any way to define variables from one scope in another scope? (2)
Jun 19    Conpile-Time module constructor (6)
Jun 18    Window created with Windows API is not visible (8)
Jun 18    can you initialize a array of POD structs? (3)
Jun 18    multidim array with enum (2)
Jun 17    Need Help with Encapsulation in Python! (4)
Jun 17    std.conv.to (8)
Jun 17    nested function overloading (8)
Jun 16    UFCS limit (7)
Jun 16    Creating DLL (10)
Jun 15    Consuming D libraries from other languages (5)
Jun 15    Whats the proper way to write a Range next function (5)
Jun 15    getSymbolsByUDA in constructor/member functions (7)
Jun 14    Convering strings containing number (3)
Jun 14    Bug? (3)
Jun 14    ImportC: unresolved external symbol (3)
Jun 14    Bug in dmd? (11)
Jun 14    how to set REST path for gcloud api in vibe.d? (1)
Jun 14    Closures over temporary variables (3)
Jun 13    Failure due to memcpy being called at compile time (10)
Jun 13    Dynamic chain for ranges? (7)
Jun 11    Can I create a package with friendly modules (8)
Jun 11    sha256 to bigint (3)
Jun 11    Error: cannot use non-constant CTFE pointer in an initializer (3)
Jun 10    map! evaluates twice (6)
Jun 10    Run a command-line process with data sent, and retrieve the data. (5)
Jun 10    Range to Nullable conversion (5)
Jun 10    'each' can take static arrays (3)
Jun 10    a struct as an multidimensional array index (14)
Jun 10    Why allow initializers of non-static members that allocate? (18)
Jun 09    Generating unique identifiers at compile time (8)
Jun 06    C-like static array size inference - how? (10)
Jun 06    want to confirm: gc will not free a non-gc-allocated field of a (14)
Jun 06    What happened to Circular Studio? (4)
Jun 06    How to map machine instctions in memory and execute them? (Aka, how to (11)
Jun 05    Copy Constructor (12)
Jun 05    How to call a GDI+ function from D ? (4)
Jun 04    D for data science and statistics (4)
Jun 04    dlang compilers & licenses. (3)
Jun 04    What happened to Deimos and why ? (3)
Jun 03    Comparing Exceptions and Errors (78)
Jun 02    int | missing | absent (11)
Jun 01    Dynamic Arrays Capacity (9)
Jun 01    Graphing a D function : possible? (3)
Jun 01    Anybody have any idea on how to do shared operator overloads? (5)
May 31    Basic SQLite Application (6)
May 31    Templatized delegates (6)
May 31    static assert("nothing") (8)
May 30    Execute the Shell command and continue executing the algorithm (6)
May 28    Compiler switch for integer comparison/promotion to catch a simple (6)
May 28    gdc 12.1: undefined references when linking separately compiled files (12)
May 27    Why is the compiled file size so huge? (5)
May 27    Inferred attributes errors in template function. (5)
May 26    Bug? (1)
May 25    Tracing/Profiling D Applications (14)
May 25    Why (v1<<8 + v2) different from (v1<<8 | v2)? (3)
May 24    How to fix "typesafe variadic function parameter"? (4)
May 24    Implicit integer conversions Before Preconditions (3)
May 24    Cannot check function address (21)
May 23    How to call destroy() in nogc? (5)
May 23    mixin template (3)
May 23    How are delegate attributes in fn signature inferred? (3)
May 23    Allocate a string via the GC (8)
May 23    Odd construct idea. Splitting arguments inside a parameter list. (5)
May 22    Does D programming language have work steal queue? (11)
May 22    Debug with lldb on windows? (1)
May 21    Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd (6)
May 20    Sleep in a cycle (5)
May 19    UI Library (20)
May 19    vibe.d requestHTTP in static this causes infinite loop? (4)
May 19    Error: undefined symbol: _WinMain 16 When try compile no console (11)
May 19    template? mixin? template mixins? for modifying a struct setup (11)
May 18    vibe.d ubuntu 22.04 ssl linking error (2)
May 18    Unexplainable behaviour with direct struct assignment. (9)
May 18    class destructors must be disabled? (9)
May 18    Installing DMD on linux via snap (5)
May 17    I need to use delete as the method name. But now it's still a keyword, (6)
May 17    undefined reference to `const const(char)[] object.Throwable.message() (2)
May 16    Question on shapes (10)
May 16    D WebAssembly working differently than C++, Zig (10)
May 15    Why are structs and classes so different? (32)
May 15    decimal type in d (5)
May 15    Why doesn't this piece of code work? (15)
May 14    FTP LS (7)
May 13    Error: variable `impl` cannot be modified at compile time (4)
May 13    Best Practice to manage large projects with dub? (3)
May 13    What exact debugging information is added to the binary and how to (2)
May 12    Template shenannigans with multiple datatypes (9)
May 12    Help, in vibe.d, how to get configure var of mongodb in heroku? (10)
May 12    Back to Basics at DConf? (14)
May 12    Exercises (3)
May 12    Creating a custom iota() (8)
May 11    Virtual methods on stack objects (7)
May 11    While loop on global variable optimised away? (5)
May 10    What are (were) the most difficult parts of D? (95)
May 10    Type Parameter Deduction (7)
May 09    range result in Tuple! and how to convert into assocArray by sort? (7)
May 09    Parameters of overloaded templated function (7)
May 09    How to convert a LPCWSTR aka const(wchar)* to string (3)
May 09    Trait for "can be instantiated"? (13)
May 07    Compile delegate with enum into proper function? (9)
May 06    Interface wierdness (3)
May 06    What am I doing wrong here? (5)
May 06    dip1000 return scope dmd v 2.100 (3)
May 05    How to unpack template parameters,Or how to forward parameters? (3)
May 05    Using regular expressions when reading a file (11)
May 05    Why isn't my dynamic array method doesn't work for this type? (10)
May 04    Including C sources in a DUB project (13)
May 04    Unittests being broken (2)
May 03    DMD failed with exit code -1073741819 (4)
May 03    String Literals (2)
May 03    How to get compatible symbol names and runtime typeid names for (19)
May 02    How to remove an element from a dynamic array with given index ? (3)
Apr 30    Parameters declared as the alias of a template won't accept the (28)
Apr 30    Help with DynamicArray of Emsi Containers (3)
Apr 30    What's a good way to disassemble Phobos? (4)
Apr 30    error connecting to mongodb atlas with vibe.d (3)
Apr 29    Is T.init allowed? (3)
Apr 28    How do I get the screen resolution? (7)
Apr 27    generic function instance without call (5)
Apr 27    CTFE and BetterC compatibility (11)
Apr 26    A template construct like using() (5)
Apr 26    Language server (6)
Apr 26    Library for image editing and text insertion (30)
Apr 26    Problem with GC - linking C++ & D (with gdc) (8)
Apr 25    Reference counting example (5)
Apr 25    Get UDAs of self's declaration as a member? (2)
Apr 25    Assigning to array of structs with custom constructor (14)
Apr 25    std.typecons Typedef initializers? (5)
Apr 24    Linked list, printing looks destructive. (9)
Apr 24    How to implement private constructor (6)
Apr 24    How to use destroy and free. (37)
Apr 24    Create a wrapper around larger c-libraries (3)
Apr 24    Is live attribute working yet? (6)
Apr 22    Variables & kind of memory (9)
Apr 22    microservice story needed (1)
Apr 21    What is the difference between a static assert and a unit test? (3)
Apr 21    Understanding alias template parameters (8)
Apr 21    unexpected noreturn behavior (6)
Apr 21    How to get an IP address from network interfaces (10)
Apr 20    stack frame & dangling pointer weirdness (9)
Apr 20    Infinite fibonacci sequence, lazy take first 42 values (7)
Apr 20    dub import local D package (5)
Apr 20    ldc2 error , Error: declaration . . is already defined (2)
Apr 20    Create an associative array with function pointers as the value (5)
Apr 20    Lambda Tuple with Map Reduce (4)
Apr 19    Calling template member function? (12)
Apr 18    save and load a 2d array to a file (6)
Apr 18    Install D lang on Windows 10 : an installation step by step tutorial (5)
Apr 17    DUB issues (7)
Apr 17    Static struct initialization syntax behavior & it being disabled upon (12)
Apr 17    How to use Vector Extensions in an opBinary (6)
Apr 16    Do I have to pass parameters with ref explicitly? (6)
Apr 16    Beginner memory question. (6)
Apr 16    TIC-80 WebAssembly: pointers to fixed addresses (3)
Apr 16    Template name undefined when import from "library" target. (2)
Apr 16    Can Enums be integral types? (6)
Apr 16    how can i mixin a function as struct or class member function (1)
Apr 15    Collect the arguments of all the function calls at a compile time in (2)
Apr 14    Nested function requires forward declaration? (4)
Apr 13    RefCounted (4)
Apr 12    one liner to split a string into every n chars? (3)
Apr 11    Lambdas Scope (3)
Apr 11    Importing version identifiers from another file? (5)
Apr 10    Why do immutable variables need reference counting? (30)
Apr 09    scope variable `b` assigned to `a` with longer lifetime (-dip1000) (2)
Apr 07    extended characterset output (6)
Apr 07    How to implement this? (8)
Apr 07    Again, ask help with Dlang program footprint (5)
Apr 07    A weird example of .toUTF16z concatination side-effects in wcsncat (5)
Apr 07    Conversion from ANSI 1252 to unicode (3)
Apr 06    Looking for a workaround (5)
Apr 06    Mixin Templates and Operators (9)
Apr 06    How to print or check if a string is "\0" (null) terminated in the D (4)
Apr 05    Check if Key exists in Associative Array using D language. (3)
Apr 05    How to use an existing D package in Visual D? (3)
Apr 04    Removing elements from dynamic arrays? (11)
Apr 04    How do you get passed `LNK: cannot find python39.lib` errors when (1)
Apr 04    I want to append to lists without using append (4)
Apr 04    Is it safe to read to memory after it has been allocated with (6)
Apr 03    arsd.minigui (3)
Apr 03    Const Variables (8)
Apr 02    Where I download Digital Mars C Preprocessor sppn.exe? (7)
Apr 02    Variadic templates with default parameters. (1)
Apr 02    Google Code Jam 2022 (11)
Apr 02    Unit tests via DUB (7)
Apr 01    Can std.variant be used with std.container.rbtree? (11)
Apr 01    Does the GC consider slice lengths? (8)
Mar 31    Good to the last drop. (3)
Mar 30    How pretty-print a struct? (3)
Mar 30    How to create delegates with an independent scope? (5)
Mar 29    How to unit-test behavior under "version"? (6)
Mar 29    How do you properly use immutable on class members? (6)
Mar 28    arsd-minigui - couple of questions (18)
Mar 27    Windows Msys terminal not flushing on newlines (4)
Mar 27    How to make a generic function to take a class or struct by reference? (6)
Mar 26    Help needed to learn typeof(return) (4)
Mar 24    Fiber pool? (2)
Mar 23    Why exe size change if import entire std or just writeln? (3)
Mar 22    How can I implement SSL protocol in my program? (1)
Mar 22    Determining function template from runtime type: better ideas? (2)
Mar 19    Example of Windows SSL with Secure Channel? (4)
Mar 19    Cross-compilation for Linux from Windows using DMD (1)
Mar 18    Help needed to learn templates (11)
Mar 18    Nested Classes with inheritance (8)
Mar 18    Basic question about size_t and ulong (10)
Mar 17    I like dlang but i don't like dub (23)
Mar 17    freebsd dub linker error (9)
Mar 17    dmd 2.099 regression: unittest -checkaction=context and import (3)
Mar 16    static init c struct with array filed (7)
Mar 14    Make shared static this() encoding table compilable (17)
Mar 12    Detecting manifest contants (5)
Mar 12    error forward references if scope (2)
Mar 10    Template with default parameter (8)
Mar 10    Write UTF-8 bytes directly to stack buffer (4)
Mar 08    How to exclude function from being imported in D language? (12)
Mar 03    How to use ImportC? (9)
Mar 03    How to remove all characters from a string, except the integers? (29)
Mar 02    How to convert a string command line argument to an int? (2)
Mar 02    How do I create a package? (7)
Mar 01    gcopt=fork:1 (3)
Mar 01    Setting SQLite compile time parameters from etc.c.sqlite3 (3)
Mar 01    What does dual-context mean? (3)
Mar 01    Cannot Call Super-Class Overloaded Function If Class has Function (5)
Feb 28    opCast in class prevents destroy (9)
Feb 28    Colors in Raylib (13)
Feb 27    Set output location for dub --single (3)
Feb 27    https://run.dlang.io/ vs All dmd compilers (2.060 - latest) (9)
Feb 26    Simple way to handle rvalues and templates. (3)
Feb 26    Source code for vibe.d listenTCP() (6)
Feb 26    Detecting ElementType of OutputRange (5)
Feb 26    How to get instance member value from getSymbolsByUDA (6)
Feb 25    template instance does not match template declaration (5)
Feb 25    How to programmatically get all the method names of an interface (4)
Feb 25    std.process execute always returns -11 on linuxkit kernel (1)
Feb 24    2D arrays, slices and manual memory allocation (3)
Feb 24    How to check that a member function is generated by compiler? (7)
Feb 23    Will it be possible to write a GCC frontend in D? (7)
Feb 22    Odd behaviour of std.range (9)
Feb 21    how to return map(fn) (8)
Feb 21    SumType alias can't be deduced? (3)
Feb 21    DDoc Reference Links point to /docs/docs instead of /docs? (5)
Feb 21    Why writeln can't be converted to nothrow with just catching of (15)
Feb 21    Differences between lambda function and regular functions in higher (4)
Feb 20    Is there a way to not escape slashes when parsing JSON? (14)
Feb 20    Crosscompiling LDC's druntime for Android on Windows (2)
Feb 20    keyword as struct field (7)
Feb 19    Function Parameters without Names? (6)
Feb 19    Tips on TCP socket to postgresql middleware (22)
Feb 19    curl error msg (3)
Feb 18    initializing struct containing user defined type (8)
Feb 17    Member function forwarding (3)
Feb 16    Does anyone build for Android? Tons of link errors.. (7)
Feb 15    Strange behavior of iota (9)
Feb 14    split Error - no overload matches (6)
Feb 13    GtkD on macOS Monterey (3)
Feb 12    Offline D documentation/tutorial (9)
Feb 12    safe SQL database on Windows (3)
Feb 12    Declaring a reusable formula and using it in other scopes. (3)
Feb 11    Is there an equivavlent to C# boxing in D? (6)
Feb 10    How to work with hashmap from memutils properly? (7)
Feb 10    Cross Compile to Linux from Windows using LDC? (4)
Feb 10    How to update Associative Array? (10)
Feb 09    how to handle very large array? (16)
Feb 09    Filling an array at compile time (9)
Feb 08    How to use sets in D? (10)
Feb 08    Is this Windows Win32 fileapi.h header accessible in D language? (4)
Feb 08    How to verify DMD download with GPG? (8)
Feb 07    stripping binaries from LDC2 (4)
Feb 05    iteration over directories is unsafe (2)
Feb 05    what's meaning of "(a) =>" (3)
Feb 04    Approach to Integration Testing in D (6)
Feb 02    ldc executable crashes with this code (21)
Feb 02    How to make dub recursively build subPackages? (7)
Feb 01    package libs on windows (2)
Jan 27    Embarrassed to ask this question because it seems so trivial but (4)
Jan 27    Order of object fields (3)
Jan 26    Template sequence parameter and default value (5)
Jan 25    gdc or ldc for faster programs? (44)
Jan 25    How to create a function that behaves like std.stdio.writeln but (4)
Jan 25    passing a variadic parameter to randomSample (13)
Jan 24    What is safe to do in an extern (C) function and how can I test this? (4)
Jan 24    unordered output of an associated array of associated arrays (8)
Jan 24    Linkage question (5)
Jan 24    dustmite and Windows file access errors (2)
Jan 23    dynamic format specifier possible? (3)
Jan 22    How to do same as 'nmap' command from within a D program? (7)
Jan 22    map question (7)
Jan 22    Ensuring allocation isn't thread-local? (3)
Jan 22    forward tuple arg to local variable + dtor (8)
Jan 22    Is anyone planning to participate in Google HashCode 2022? (1)
Jan 20    -debug question (4)
Jan 20    Trying to cross compile from windows to android (6)
Jan 20    Meaning of in, out and inout (4)
Jan 19    automate tuple creation (48)
Jan 19    Using getSymbolsByUDA in a static foreach loop (7)
Jan 19    how to print "111000" out into 0b111000 (3)
Jan 19    why there is a [] at the end of assocArray (6)
Jan 19    Function prototype overloading does not work ? (4)
Jan 18    Debug symbols from libs not being linked on windows (2)
Jan 18    shared defaultlib with dmd (5)
Jan 18    ldc2 failed with exit code -1073741819. (8)
Jan 17    alias and __VERSION__ condition doesn't play well (6)
Jan 17    number ranges (27)
Jan 16    Throw stack trace from program kill (11)
Jan 15    Dynamic array ot not (20)
Jan 15    Improve a simple event handler (5)
Jan 14    chunks result to array (2)
Jan 14    How to convert a chunks result to a two-dimensional array (7)
Jan 14    Unintuitive behavior with shared classes & template member functions; (3)
Jan 14    How to alias (5)
Jan 12    How to compile with GtkD (1)
Jan 12    Static indexing (4)
Jan 12    error: rvalue constructor and a copy constructor (2)
Jan 11    A slice consisting of non-consecutive elements of an array? (8)
Jan 10    Undefined reference to "S_ISDIR" and "S_ISREG" when compiling with (8)
Jan 09    safe question (11)
Jan 08    parallel foreach stuck on 8 workUnitSize (2)
Jan 07    Windows link trouble (8)
Jan 06    Safe code doesnt seem to complain when it should (2)
Jan 05    std.concurrency and const (3)
Jan 05    mixin does not work as expected (12)
Jan 04    Returning value by ref does not create a ref. Is this intentional? (7)
Jan 04    what is going on here? (6)
Jan 04    Module without object file? (9)
Jan 04    Libc functions undefined when linking (15)
Jan 04    what's the proper way to assign this? (5)
Jan 04    Is there a File-like object for unit tests? (5)
Jan 03    compiler fails with fatal error LNK1318: Unexpected PDB-error: OK (0) (5)
Jan 02    Printing a quoted string (10)
Dec 30 2021    print ubyte[] as (ascii) string (31)
Dec 27 2021    Starting and managing threads (14)
Dec 09 2021    Can anyone provide an example of how D templates are overridable by (10)
Dec 08 2021    T... args! (12)
Nov 27 2021    Debugging D code with GDB (10)
Oct 31 2021    srand in D (10)
Aug 03 2021    module search paths (8)
Jul 23 2021    Cannot always deduce template arguments when using implicitly cast (4)
Jun 28 2021    Deploy vibe.d application on Heroku : App not compatible with (4)
Apr 24 2021    Calling readln() after readf (13)
Jun 12 2020    How to create Multi Producer-Single Consumer concurrency (5)
May 12 2020    Fetching licensing info for all dependencies of a DUB project (7)
Jul 09 2019    SendMessageTimeoutW requires casting string to uint? (8)

Other years:
2022 2021 2020 2019 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005