Глава 4 закончена

This commit is contained in:
Alexander Zhirov 2023-02-25 17:15:12 +03:00
parent 141dd624b1
commit e57718386b
26 changed files with 442 additions and 2 deletions

View file

@ -0,0 +1,8 @@
void main()
{
auto array = new int[10];
array.length += 1000; // Расширяется
assert(array.length == 1010);
array.length /= 10; // Су­жа­ет­ся
assert(array.length == 101);
}