Перенос страниц
This commit is contained in:
parent
4d57446057
commit
4c954c9186
129 changed files with 14 additions and 15 deletions
15
book/01-знакомство-с-языком-d/src/chapter-1-3/app.d
Normal file
15
book/01-знакомство-с-языком-d/src/chapter-1-3/app.d
Normal file
|
@ -0,0 +1,15 @@
|
|||
import std.stdio;
|
||||
|
||||
void fun(ref uint x, double y)
|
||||
{
|
||||
x = 42;
|
||||
y = 3.14;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
uint a = 1;
|
||||
double b = 2;
|
||||
fun(a, b);
|
||||
writeln(a, " ", b);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue