Post your project for free and start receiving proposals from freelancers within minutes after publication!
Laboratory No. 10
Laboratory work 10
Conditions of task
Develop a template class CArray - a volunteer type T data mass and tests that demonstrate the work with this class.The memory of the data mass is dynamically distinguished.These methods must be implemented:
Constructor by order;
The Copy Designer;
the destroyer;
The push_back (T _value) method adds the _value element to the end of the massive.
the method erase(int _index) which removes the element with the massive according to the specified index _index;
the method insert(int _index) which inserts the massive element according to the specified index _index;
the size method(), which returns the size of the massive;
the clear(), which cleans the massive;
the operating function operator[](), which transfers the operator [] indexing elements of the massive and returns the value of the element of the massive according to the specified index;
method print(), designed for the conclusion of the content of the massive on the screen.The decision must demonstrate the work of the class by using the following tests:
Working with Numbers (int)
1.1 The Adding 20 random numbers in a range of 0 to 100
1.2 The Sorting the number of numbers by growth
1.3 The Removal of each other element in the massive
1.4 The 10 random numbers in the range of 0 to 100 on random positions
1.5 of 5. Cleaning of containers
Working with objects (std::string)
2.1 The Adding 15 randomly selected words consisting of the Latin letters of the lower register
2.2 The Sorting a set of words by growth
2 and 3. Deletion of each word that includes any of the letters a, b, c, d, e
2 and 4. Three randomly selected words to random positions
Conditions of task
Develop a template class CArray - a volunteer type T data mass and tests that demonstrate the work with this class.The memory of the data mass is dynamically distinguished.These methods must be implemented:
Constructor by order;
The Copy Designer;
the destroyer;
The push_back (T _value) method adds the _value element to the end of the massive.
the method erase(int _index) which removes the element with the massive according to the specified index _index;
the method insert(int _index) which inserts the massive element according to the specified index _index;
the size method(), which returns the size of the massive;
the clear(), which cleans the massive;
the operating function operator[](), which transfers the operator [] indexing elements of the massive and returns the value of the element of the massive according to the specified index;
method print(), designed for the conclusion of the content of the massive on the screen.The decision must demonstrate the work of the class by using the following tests:
Working with Numbers (int)
1.1 The Adding 20 random numbers in a range of 0 to 100
1.2 The Sorting the number of numbers by growth
1.3 The Removal of each other element in the massive
1.4 The 10 random numbers in the range of 0 to 100 on random positions
1.5 of 5. Cleaning of containers
Working with objects (std::string)
2.1 The Adding 15 randomly selected words consisting of the Latin letters of the lower register
2.2 The Sorting a set of words by growth
2 and 3. Deletion of each word that includes any of the letters a, b, c, d, e
2 and 4. Three randomly selected words to random positions
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 ∙ 10 days 22 hours back ∙ 6 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 ∙ 11 days 5 hours back ∙ 17 proposals |