Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Alexander Zhirov | 3f11e9e2df |
|
@ -1,3 +1,4 @@
|
|||
.dub/
|
||||
bin/
|
||||
.vscode/
|
||||
autocreation-dub.sh
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
.dub
|
||||
docs.json
|
||||
__dummy.html
|
||||
docs/
|
||||
/example_3
|
||||
example_3.so
|
||||
example_3.dylib
|
||||
example_3.dll
|
||||
example_3.a
|
||||
example_3.lib
|
||||
example_3-test-*
|
||||
*.exe
|
||||
*.o
|
||||
*.obj
|
||||
*.lst
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"authors": [
|
||||
"alexander"
|
||||
],
|
||||
"copyright": "Copyright © 2021, alexander",
|
||||
"description": "Основы работы с функциями",
|
||||
"license": "proprietary",
|
||||
"name": "example_3",
|
||||
"targetPath": "bin"
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
import std.stdio;
|
||||
import fun_;
|
||||
|
||||
void main()
|
||||
{
|
||||
uint a = 1;
|
||||
double b = 2;
|
||||
fun(a, b);
|
||||
writeln(a, ' ', b);
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
module fun_;
|
||||
|
||||
void fun(ref uint x, double y)
|
||||
{
|
||||
x = 42;
|
||||
y = 3.14;
|
||||
}
|
Reference in New Issue