{"id":21891955,"url":"https://github.com/jakedaspud/dsa-ca2-wrong-wrong-wrong","last_synced_at":"2025-06-15T13:04:03.805Z","repository":{"id":262799387,"uuid":"887556948","full_name":"JakeDaSpud/dsa-ca2-WRONG-WRONG-WRONG","owner":"JakeDaSpud","description":"Implementing a TreeMap in C++ and making 10,000 CLI Apps it seems.","archived":false,"fork":false,"pushed_at":"2024-11-17T19:56:34.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-25T00:18:54.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JakeDaSpud.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T22:06:08.000Z","updated_at":"2024-11-17T19:56:37.000Z","dependencies_parsed_at":"2024-11-17T20:48:50.969Z","dependency_job_id":null,"html_url":"https://github.com/JakeDaSpud/dsa-ca2-WRONG-WRONG-WRONG","commit_stats":null,"previous_names":["jakedaspud/dsa-ca2","jakedaspud/dsa-ca2-wrong-wrong-wrong"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeDaSpud%2Fdsa-ca2-WRONG-WRONG-WRONG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeDaSpud%2Fdsa-ca2-WRONG-WRONG-WRONG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeDaSpud%2Fdsa-ca2-WRONG-WRONG-WRONG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeDaSpud%2Fdsa-ca2-WRONG-WRONG-WRONG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakeDaSpud","download_url":"https://codeload.github.com/JakeDaSpud/dsa-ca2-WRONG-WRONG-WRONG/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235775551,"owners_count":19043180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T12:46:19.846Z","updated_at":"2025-01-26T22:46:25.993Z","avatar_url":"https://github.com/JakeDaSpud.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Jake O'Reilly D00256438\n\n---\n\n# Implementing and using a TreeMap in C++\n\n### Worth 20%\n\n### Due: 28th November 2024\n\n---\n\n### Notes\n\nI am using [Catch2 v2](https://github.com/catchorg/Catch2/blob/v2.x/single_include/catch2/catch.hpp) for Unit Testing instead of the Microsoft Testing Framework, this is because I am not using Visual Studio 2022.\n\nThe [Catch2](https://github.com/catchorg/Catch2/blob/v2.x/single_include/catch2/catch.hpp) header file (catch.hpp) is already in the repo, so you shouldn't need to do anything extra for the testing to work.\n\nI am using [Visual Studio Code](https://code.visualstudio.com/) and [Notepad++](https://notepad-plus-plus.org/) for coding, [g++](https://gcc.gnu.org/) (from GCC) for compiling, and [Catch2](https://github.com/catchorg/Catch2/blob/v2.x/single_include/catch2/catch.hpp) for Unit Testing.\n\n---\n\n### Building / Compiling / Project Structure\n\nI build with g++ with these commands from the ```Proyecto/``` directory:\n\nApp Compiling\n```\ng++ src/app_name.cpp -o ./build/bin/app_name.exe\n```\n\nTests Compiling\n```\ng++ testing/test_file_name.cpp -o ./build/bin/test_file_name.exe\n```\n\n---\n\n# Stage 1\n\nTurn the provided Binary Search Tree code into TreeMap code, and implement these functions:\n\n| Signature | Function |\n| --- | --- |\n| void clear() | Removes all entries from the Map. |\n| bool containsKey(K key) | Returns true if this map contains a mapping for the specified key. |\n| V\u0026 get(K key) | Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. |\n| BinaryTree\u003cK\u003e keySet() | Returns a Set view of the keys contained in this map. |\n| void put(K key, V value) | Associates the specified value with the specified key in this map. |\n| int size() | Returns the number of key-value mappings in this map. |\n| bool removeKey(K key) | Removes the item denoted by the given key. |\n| V\u0026 operator\\[K key\\] | Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. |\n\n---\n\n# Stage 2\n\nUsing your TreeMap and Binary Search Tree, make a CLI App that reads a .txt file and sorts and stores all unique words by their first letter.\n\nIn the App, the user can view:\n- List of letters that have 1+ words stored.\n- All of the words for a given letter.\n\nModify the print() method of the Binary Search Tree code for display.\n\n---\n\n# Stage 3\n\nMake a .csv file with at least 100 rows of data. \nThere should be at least 5 fields of at least 2 different data types. \nYou may use online data generation tools to generate your data.\n\n---\n\n# Stage 4\n\nMake a CLI App that lets the user view and search Stage 3's data.\n\nIn the App, the user can:\n- Create an index on one of the data fields and display the: \n- - Unique entries for that field.\n- - Number of rows that contain that value.\n- View a subset of the data, based on a user-given value for any ONE field.\n\nAll data should be clearly and neatly presented.\nEfficient Memory Management must be applied.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakedaspud%2Fdsa-ca2-wrong-wrong-wrong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakedaspud%2Fdsa-ca2-wrong-wrong-wrong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakedaspud%2Fdsa-ca2-wrong-wrong-wrong/lists"}