Programming_dynamic_data_structures

所属分类:论文
开发工具:C++
文件大小:1697KB
下载次数:0
上传日期:2022-05-24 17:31:38
上 传 者sh-1993
说明:  一个学术主题的实验室工作:“动态数据结构编程”
(Laboratory work on an academic subject: "Programming dynamic data structures")

文件列表:
OOP_Set_Kudashov (0, 2022-05-25)
OOP_Set_Kudashov\CMakeLists.txt (207, 2022-05-25)
OOP_Set_Kudashov\OOP_Set_Kudashov.cpp (2103, 2022-05-25)
OOP_Set_Kudashov\SetLab3_Kudashov.cpp (5305, 2022-05-25)
OOP_Set_Kudashov\SetLab3_Kudashov.h (2065, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug (0, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeCache.txt (16985, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles (0, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1 (0, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CMakeCCompiler.cmake (3434, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CMakeCXXCompiler.cmake (6686, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CMakeDetermineCompilerABI_C.bin (44875, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CMakeDetermineCompilerABI_CXX.bin (44894, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CMakeRCCompiler.cmake (277, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CMakeSystem.cmake (395, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CompilerIdC (0, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CompilerIdC\CMakeCCompilerId.c (25746, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CompilerIdC\a.exe (44898, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CompilerIdCXX (0, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CompilerIdCXX\CMakeCXXCompilerId.cpp (25478, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\3.21.1\CompilerIdCXX\a.exe (44926, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\CMakeOutput.log (58506, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\OOP_Set_Kudashov.dir (0, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\OOP_Set_Kudashov.dir\OOP_Set_Kudashov.cpp.obj (132819, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\OOP_Set_Kudashov.dir\SetLab3_Kudashov.cpp.obj (167087, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\TargetDirectories.txt (282, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\clion-environment.txt (182, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\clion-log.txt (381, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\cmake.check_cache (86, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\CMakeFiles\rules.ninja (2403, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\OOP_Set_Kudashov.exe (252557, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\Testing (0, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\Testing\Temporary (0, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\Testing\Temporary\LastTest.log (142, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\build.ninja (10766, 2022-05-25)
OOP_Set_Kudashov\cmake-build-debug\cmake_install.cmake (1673, 2022-05-25)
Set_Cont_List_Kudashov (0, 2022-05-25)
Set_Cont_List_Kudashov\CMakeLists.txt (204, 2022-05-25)
... ...

# Programming_dynamic_data_structures Laboratory work on an academic subject: "Programming dynamic data structures" ____ ## Content 1. [Laboratory work 1](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l1)
1.1. [Creating an empty set](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l11)
1.2. [Checking for an empty set](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l12)
1.3. [Checking whether an element belongs to a set](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l13)
1.4. [Adding a new element to the set](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l14)
1.5. [The power of the set](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l15)
1.6. [Creating a set](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l16)
1.7. [Output of elements of the set](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l17)
1.8. [Deleting a set (clearing the memory occupied by the list)](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#l18)
____ ## Laboratory work 1. Creating functions that implement operations for creating work with sets A singly connected list of integer values is used to represent the set. OOP is not applied due to restrictions on the terms of reference | File name | File Contents | | ------------------------|----------------------| | Lab1_12_Kudashov.cpp | Main program | | SetLab1_12_Kudashov.h | Function set header file | | SetLab1_12_Kudashov.cpp | Function set implementation file | ### Creating an empty set - `Node* creatingAnEmptySet()` *Input parameters:* None.
*Output parameters:* a pointer to the first element of the list, equal to NULL.
### Checking for an empty set - `bool emptySet(Node* first)` *Input parameters:* a pointer to the first item in the list.
*Output parameters:* Boolean value.
### Checking whether an element belongs to a set - `bool checkingOfExistence(Node* first, int checking_value)` *Input parameters:* a pointer to the first element of the list, the value of the element.
*Output parameters:* Boolean value.
### Adding a new element to the set - `Node* add(Node*& first, int adding_value)` *Input parameters:* a pointer to the first element of the list, a value to be added to the list.
*Output parameters:* a pointer to the first element of the result list.
*Restriction:* Adding an item to the top of the list.
### The power of the set - `int powerOfTheSet (Node* first)` *Input parameters:* a pointer to the first item in the list.
*Output parameters:* integer value.
### Creating a set - `Node* creatingSet(int quantity, int min, int max, int k)` *Input parameters:* the number of elements, the range of acceptable values (from min to max). k is the multiplicity coefficient for checking the satisfaction of the condition.
*Output parameters:* a pointer to the first element of the result list. Generation of values by a random number sensor.
*Requirement:* check the possibility of creating a set with the specified parameters.
### Output of elements of the set - `string printSet(Node* first, string separator)` *Input parameters:* a pointer to the first element of the list, a separator character.
*Output parameters:* a string containing elements of a set separated by a separator character.
*Requirements:* there should not be a separator at the end of the result line.
### Deleting a set (clearing the memory occupied by the list) - `Node* deleteSet(Node*& first)` *Input parameters:* a pointer to the first item in the list.
*Output parameters:* a pointer to the first element of the list, equal to NULL.
____ [:arrow_up:Content](https://github.com/Alex-Kud/Programming_dynamic_data_structures/blob/master/#Content) ____

近期下载者

相关文件


收藏者