{"id":19234083,"url":"https://github.com/datpham0412/cgpa-calculator","last_synced_at":"2026-03-03T18:32:13.676Z","repository":{"id":245367388,"uuid":"816120447","full_name":"datpham0412/cgpa-calculator","owner":"datpham0412","description":"The CGPA Calculator is a terminal-based tool for students to manage and calculate their GPA and CGPA efficiently. Enter personal details, course units, and grades to track academic performance. Built with C++ and SQLite.","archived":false,"fork":false,"pushed_at":"2024-08-03T07:58:19.000Z","size":460,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T03:54:18.652Z","etag":null,"topics":["cmake","cplusplus-17","gtest","oop","sqlite"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datpham0412.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2024-06-17T04:52:20.000Z","updated_at":"2024-11-26T04:42:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ecfb663-956b-43a0-8f82-beff9efc60c7","html_url":"https://github.com/datpham0412/cgpa-calculator","commit_stats":null,"previous_names":["datpham0412/cgpa_calculator","datpham0412/cgpa-calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datpham0412/cgpa-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpham0412%2Fcgpa-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpham0412%2Fcgpa-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpham0412%2Fcgpa-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpham0412%2Fcgpa-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datpham0412","download_url":"https://codeload.github.com/datpham0412/cgpa-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datpham0412%2Fcgpa-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30054598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cmake","cplusplus-17","gtest","oop","sqlite"],"created_at":"2024-11-09T16:12:44.134Z","updated_at":"2026-03-03T18:32:13.340Z","avatar_url":"https://github.com/datpham0412.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎓 CGPA Calculator (Cumulative Grade Point Average Calculator)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/datpham0412/CGPA_Calculator/blob/main/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/datpham0412/CGPA_Calculator)](https://github.com/datpham0412/CGPA_Calculator/issues)\n[![GitHub stars](https://img.shields.io/github/stars/datpham0412/CGPA_Calculator)](https://github.com/datpham0412/CGPA_Calculator/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/datpham0412/CGPA_Calculator)](https://github.com/datpham0412/CGPA_Calculator/network/members)\n\n## 📋 Project Description\nThe **CGPA Calculator** is a terminal-based application that allows students to manage and calculate their Cumulative Grade Point Average (CGPA). Students can input their personal details, course units, and grades, and the application will compute the GPA for each semester and the overall CGPA.\n\n## 🛠 Technologies Used\n- **C++**: Core programming language.\n- **SQLite**: Database management.\n- **Object-Oriented Programming**: Code organization and structure.\n- **CMake**: Cross-platform build system.\n- **Google Test**: Unit testing framework.\n\n\n## 📚 Features\n- Add student details: Name, Student ID, Current Year, and Current Semester.\n- Add course units and grades for each semester.\n- Calculate GPA for each semester.\n- Calculate cumulative GPA (CGPA).\n\n## 🚀 Installation and Running the Project\n### Prerequisites\n- Ensure you have `git` installed for cloning repositories.\n- Ensure you have CMake installed and added to your system's PATH.\n\n### Steps\n1. **Clone the Repository**:\n    ```sh\n    git clone https://github.com/yourusername/CGPA_Calculator.git\n    cd CGPA_Calculator\n    ```\n\n2. **Install CMake**:\n    - Download CMake from [here](https://github.com/Kitware/CMake/releases/download/v3.30.0-rc3/cmake-3.30.0-rc3-windows-x86_64.msi)\n    - Add the CMake binary path (e.g., `C:\\Program Files\\CMake\\bin`) to your environment variables.\n\n3. **Clone SQLiteCpp**:\n    ```sh\n    cd external\n    git clone https://github.com/SRombauts/SQLiteCpp.git\n    ```\n\n4. **Modify SQLiteCpp CMakeLists.txt**:\n    - Open `CMakeLists.txt` in the `external/SQLiteCpp` folder.\n    - Change line 388 from:\n      ```cmake\n      option(SQLITECPP_RUN_CPPLINT \"Run cpplint.py tool for Google C++ StyleGuide.\" ON)\n      ```\n      to:\n      ```cmake\n      option(SQLITECPP_RUN_CPPLINT \"Run cpplint.py tool for Google C++ StyleGuide.\" OFF)\n      ```\n\n5. **Build the Project**:\n    ```sh\n    cd ..\n    mkdir build\n    cd build\n    cmake ..\n    cmake --build . --config Release\n    ```\n\n6. **Run the Application**:\n    ```sh\n    cd Release\n    CGPA_Calculator_Main.exe\n    ```\n\n## 📷 Screenshots\n![Screenshot 2024-06-21 111245](https://github.com/datpham0412/CGPA_Calculator/assets/100574389/c9de7ff3-2079-449d-b9fc-4c13c36a75f5)\n\n## 📜 License\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/datpham0412/CGPA_Calculator/blob/main/LICENSE) file for details.\n\n## 📞 Contact\nFor any inquiries, please contact [tiendat041202@gmail.com](mailto:tiendat041202@gmail.com).\n\n---\n\nMade with ❤️ by [Dat Pham](https://github.com/datpham0412)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatpham0412%2Fcgpa-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatpham0412%2Fcgpa-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatpham0412%2Fcgpa-calculator/lists"}