Working with Massives
one G mass (the masses are located in memory consistently(A,B,C,D,E,F))
The mass of massives is called a multi-dimensional mass:
int array[2][4]; // 2-element massive of 4-element massives
1
int array[2][4]; // 2-element massive of 4-element massives
Because we have 2 indices, it is a two-dimensional mass.
In a two-dimensional mass, the first (left) index is used to be read as the number of lines and the second (right) as the number of columns. The mass above can be presented as follows:
[10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10] [10]
The first is the first, the second is the first, the second is the first.
To access the elements of the two-dimensional mass, just use two indices:
array[1][3] = 7; // without the attachment int (data type)
1
array[1][3] = 7; // without the attachment int (data type)
Имеются массивы ("квадратные") в данном случае 8х4(32) из них необходимо получить
один массив G (массивы расположены в памяти последовательно(A,B,C,D,E,F))
Массив A:
11111111
22222222
33333333
44444444
Массив B:
11111111
22222222
33333333
44444444
Массив C:
11111111
22222222
33333333
44444444
Массив D:
55555555
66666666
77777777
88888888
Массив E:
99999999
22222222
33333333
44444444
Массив F:
88888888
44444444
33333333
77777777
Массив G:
A B C
D E F
111111111111111111111111
222222222222222222222222
333333333333333333333333
444444444444444444444444
555555559999999988888888
666666662222222244444444
777777773333333333333333
888888884444444477777777
Сначала выделяем память 6 * 32 = 192 (количество массивов*кол. элем. массива(8*4))
Не знаю как заполнить массив G...
АКТУАЛЬНАЯ задача:
Обновление #1 от 26 сентября в 15:40
Client's review of cooperation with Pavlo Strilets
Working with MassivesEverything is clear, quality, fast!
The code is very accurate!
I recommend !
![]()
Freelancer's review of cooperation with client
Working with MassivesThanks for good cooperation.
-

Имеются массивы ("квадратные") в данном случае 8х4(32) из них необходимо получить
один массив G (массивы расположены в памяти последовательно(A,B,C,D,E,F))
Массив A:
11111111
22222222
33333333
44444444
Массив B:
11111111
22222222
33333333
44444444
Массив C:
11111111
22222222
33333333
44444444
Массив D:
55555555
66666666
77777777
88888888
Массив E:
99999999
22222222
33333333
44444444
Массив F:
88888888
44444444
33333333
77777777
Массив G:
A B C
D E F
111111111111111111111111
222222222222222222222222
333333333333333333333333
444444444444444444444444
555555559999999988888888
666666662222222244444444
777777773333333333333333
888888884444444477777777
Сначала выделяем память 6 * 32 = 192 (количество массивов*кол. элем. массива(8*4))
Не знаю как заполнить массив G...
-
Current freelance projects in the category C & C++
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 1 hour 50 minutes back |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 3 days 3 hours back ∙ 7 proposals |
Software development for Arduino (RF modules 3–7.5 GHz, automatic frequency scanning)It is necessary to develop a system on Arduino for the automatic search of active analog video signals and the automatic tuning of the transmitter to the detected frequency.It is planned to use three separate transceiver modules: 3000–4200 MHz; 4900–6000 MHz; 6100–7500… C & C++, Embedded Systems & Microcontrollers ∙ 4 days 3 hours back ∙ 4 proposals |
Black Ukraine (RP-project on base MTA)
1157 USD
|
Residential Proxy Infrastructure EngineerWe're building a residential proxy network from scratch — fully owned, no third-party suppliers. We need one exceptional network engineer to build the entire technical foundation. What you'll build: - Android background SDK that routes proxy traffic through user devices… C & C++, DevOps ∙ 9 days 23 hours back ∙ 15 proposals |