{"id":29067041,"url":"https://github.com/byteakp/c-__library","last_synced_at":"2025-06-27T10:10:13.575Z","repository":{"id":286475789,"uuid":"923207562","full_name":"byteakp/c-__library","owner":"byteakp","description":"A C++ library offering a collection of useful functions for common programming tasks, including matrix operations, sorting and searching algorithms, string manipulation, file handling, and more.","archived":false,"fork":false,"pushed_at":"2025-01-27T20:31:12.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T10:51:28.262Z","etag":null,"topics":["cpp","library"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byteakp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2025-01-27T20:24:26.000Z","updated_at":"2025-01-27T20:28:45.000Z","dependencies_parsed_at":"2025-04-06T18:39:47.880Z","dependency_job_id":null,"html_url":"https://github.com/byteakp/c-__library","commit_stats":null,"previous_names":["amankpandey/c-__library","byteakp/c-__library"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/byteakp/c-__library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2Fc-__library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2Fc-__library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2Fc-__library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2Fc-__library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byteakp","download_url":"https://codeload.github.com/byteakp/c-__library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteakp%2Fc-__library/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262235802,"owners_count":23279571,"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":["cpp","library"],"created_at":"2025-06-27T10:10:12.179Z","updated_at":"2025-06-27T10:10:13.554Z","avatar_url":"https://github.com/byteakp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Utility Library\n\nA comprehensive C++ library providing various utility functions, algorithms, and data structure operations.\n\n## Features\n\n- **Matrix Operations**\n  - Matrix multiplication\n  - Matrix transpose\n  - Matrix addition\n\n- **Sorting Algorithms**\n  - Quick Sort\n  - Merge Sort\n  - Bubble Sort\n\n- **Searching Algorithms**\n  - Binary Search\n  - Linear Search\n  - Find All Occurrences\n\n- **Utility Functions**\n  - Factorial calculation\n  - Fibonacci sequence generation\n  - Prime number operations\n\n- **String Manipulation**\n  - Case conversion\n  - String splitting\n  - Prefix/suffix checking\n\n- **File Operations**\n  - File reading/writing\n  - Line-by-line operations\n  - File appending\n\n## Requirements\n\n- C++14 or higher\n- CMake 3.14 or higher\n- GTest (for building tests)\n\n## Installation\n\n### Using CMake\n\n```bash\ngit clone https://github.com/yourusername/cpp-utility-library.git\ncd cpp-utility-library\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake\nmake install\n```\n\n### Manual Installation\n\n1. Copy the contents of the `include` directory to your project\n2. Include the necessary headers in your code\n\n## Usage\n\n```cpp\n#include \u003cMyLibrary/MyLibrary.hpp\u003e\n\n// Matrix operations\nstd::vector\u003cstd::vector\u003cint\u003e\u003e mat1 = {{1, 2}, {3, 4}};\nstd::vector\u003cstd::vector\u003cint\u003e\u003e mat2 = {{5, 6}, {7, 8}};\nauto result = MyLibrary::Matrix::multiply(mat1, mat2);\n\n// Sorting\nstd::vector\u003cint\u003e arr = {64, 34, 25, 12, 22, 11, 90};\nMyLibrary::Sort::quickSort(arr, 0, arr.size() - 1);\n\n// String operations\nstd::string str = \"Hello World\";\nauto upperCase = MyLibrary::StringOps::toUpperCase(str);\n```\n\n## Building Examples\n\n```bash\ncmake -DBUILD_EXAMPLES=ON ..\nmake\n```\n\nExamples will be built in the `build/bin` directory.\n\n## Running Tests\n\n```bash\ncmake -DBUILD_TESTS=ON ..\nmake\nctest\n```\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](docs/CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Changelog\n\nSee [CHANGELOG.md](docs/CHANGELOG.md) for a list of changes in each version.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteakp%2Fc-__library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteakp%2Fc-__library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteakp%2Fc-__library/lists"}