Laboratory work on s/s++
Massive structures, dynamic memory and files with direct access.The Target:
Develop an add-on for data preparation to be displayed on a column diagram.The histogram.Supplementary instructions:
Addition for building a table with the number of values on the straight stripes
The use:
a.exe [-] -f flNm -n number
where
-f flNm - the name of the file with a built-in table in a double format
-n number - number of cuts (number more than 0)
-v - the time of work and the number of rejected values.Two keys -f and -n are mandatory.You need to check their flNm parameters, number on the presence in the mass of arguments.
the command line (argv), the last on that the parameter is
Total positive value.The task:
Use the dynamic massive structure:
struct tblRec {int segment; int values};
tblRec * tbl = (tblRec*)malloc(sizeof(tblRec) * number);
where number is the positive number of scores set in the command line;
- From the standard entry to read the text file with the content
The same laboratory 2.1.
An indicator of the material value:
double * array = 0;
- Every read from the standard input value to be
Dynamically modified massive array (function - realloc);
Calculate the minimum and maximum value in the massive array.
- to determine a cut that contains all the values from the file;
Divide the cut into the number of semi-opened right-hand segments (i.e.
and the smaller cuts;
- fill in the tbl [number] table with the number of input values
the file that goes into the relevant segment;
- Extract the obtained table in a double form into the flNm file and in
The standard output
The file must be in the format.
1 3
4 6
3 8
as an example.It is also necessary to make a blockchaem to the program.
Applications 1
Current freelance projects in the category C & C++
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 1 day 13 hours back ∙ 5 proposals |
Development of a Minecraft Java Seed Map / Seed Viewer for the websiteDevelopment of Minecraft Java Seed Map / Seed Viewer for the websiteProject Description A browser-based tool Minecraft Java Seed Map / Seed Viewer needs to be developed, which will work on our website and allow the user to enter a seed from Minecraft Java Edition and view an… C & C++, HTML & CSS ∙ 1 day 20 hours back ∙ 13 proposals |
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# ∙ 6 days 3 hours back ∙ 2 proposals |
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 ∙ 9 days 4 hours back ∙ 8 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 ∙ 10 days 5 hours back ∙ 4 proposals |