Compare commits

..

1 Commits

Author SHA1 Message Date
Alexander Zhirov 3f11e9e2df added autocreation-dub 2021-11-09 04:18:50 +03:00
4 changed files with 1 additions and 40 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.dub/ .dub/
bin/ bin/
.vscode/ .vscode/
autocreation-dub.sh

View File

@ -1,15 +0,0 @@
.dub
docs.json
__dummy.html
docs/
/example_2
example_2.so
example_2.dylib
example_2.dll
example_2.a
example_2.lib
example_2-test-*
*.exe
*.o
*.obj
*.lst

View File

@ -1,10 +0,0 @@
{
"authors": [
"alexander"
],
"copyright": "Copyright © 2021, alexander",
"description": "Числа и выражения",
"license": "proprietary",
"name": "example_2",
"targetPath": "bin"
}

View File

@ -1,15 +0,0 @@
import std.stdio;
void main()
{
immutable byte inchesPerFoot = 12;
immutable cmPerInch = 2.54;
foreach (feet; 5 .. 7)
{
foreach (inches; 0 .. inchesPerFoot)
{
writefln("%d'%d''\t%f'", feet, inches, (feet * inchesPerFoot + inches) * cmPerInch);
}
}
}