or was the .lst extension chosen arbitrarily?
my text editor [notepad++] thinks it's COBOL for some reason but
that's obviously not correct, so i'm wondering if it has an
official spec or anything. knowing the name of it would help -
maybe my editor already has syntax highlighting for it.
hi all.
been learning d for the last few years but suddenly realised...
when i use this code:
writeln('♥');
the output displayed on the windows command line is "ÔÖÑ" [it
works fine when piped directly into a text file, however].
i've looked about in this forum, but all that i could find was
hullo all. i've encountered a bizzare inconsistency.
the following is the [D spec on rectangular
arrays](https://dlang.org/spec/arrays.html#rectangular-arrays):
```
void main()
{
import std.stdio: write, writeln, writef, writefln;
double[6][3] matrix = 0; // Sets all elements to 0.
On Friday, 11 June 2021 at 08:40:51 UTC, jfondren wrote:
The example in the spec is in a function body and you've copied
it to a class body, where the writeln() would also be in error.
I find https://dlang.org/spec/grammar.html quite hard to read
but I imagine there's a state/declaration distinc
hi all!
after a long while away, i thought i'd download the latest D
release and give learning it another shot. unfortunately, it
looks like i screwed up somewhere big time =[
it was working fine for me before [a few months ago i think], but
now whenever i try to compile i get the message "l
in case anyone else suffers from this in the future and is
looking for a solution - redownloading visual studio 2017 and
making sure the c++ workload was enabled fixed this for me. i'm
not really sure why that worked, but i'm just happy to be able to
learn again.
trans rights!
- moth
I'm working with a library that has template structs of
mathematical vectors that can sometimes be the type of an array
I'm passing to a function.
The definition of the struct is like this:
struct Vector(type, int dimension_){ ... }
Where type is going to be an int/float/etc and dimension_ is