initial commit

This commit is contained in:
2026-02-25 18:09:22 +03:00
commit c8f7782552
16 changed files with 622 additions and 0 deletions

30
include/LAB6.h Normal file
View File

@@ -0,0 +1,30 @@
#ifndef LAB6_H
#define LAB6_H
#include <stddef.h>
#include <stdint.h>
#include "shared.h"
typedef struct {
char* name;
int32_t* ptr;
size_t size;
} ArrayI32;
void read_array(ArrayI32* a);
void print_array(ArrayI32* a);
void swap_indices(ArrayI32* array, size_t a, size_t b);
void swap_sign(ArrayI32* a);
size_t positive_count(ArrayI32* a);
size_t min_element_index(ArrayI32* a);
size_t max_element_index(ArrayI32* a);
ArrayI32 make_an_array(char* name, size_t size);
void lab_6();
#endif