{"id":23956860,"url":"https://github.com/get-unknown-err0r/online-polling-system","last_synced_at":"2026-06-22T10:31:35.839Z","repository":{"id":270346991,"uuid":"910079688","full_name":"GET-UNKNOWN-ERR0R/online-polling-system","owner":"GET-UNKNOWN-ERR0R","description":"A polling system implemented in C++ where users can vote for their favorite cricketer from a predefined list of options. After voting, users can view the current poll results.","archived":false,"fork":false,"pushed_at":"2024-12-30T13:02:46.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T10:48:19.913Z","etag":null,"topics":["arpit-prajapati","batch-file","cpp-programming","get-unknown-err0r","github","online-polling-system","shell"],"latest_commit_sha":null,"homepage":"","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/GET-UNKNOWN-ERR0R.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-12-30T12:49:49.000Z","updated_at":"2025-01-07T17:05:17.000Z","dependencies_parsed_at":"2024-12-30T13:58:45.504Z","dependency_job_id":"c8cdbf2b-df86-4428-b80e-006d3063667a","html_url":"https://github.com/GET-UNKNOWN-ERR0R/online-polling-system","commit_stats":null,"previous_names":["get-unknown-err0r/online-polling-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GET-UNKNOWN-ERR0R/online-polling-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fonline-polling-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fonline-polling-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fonline-polling-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fonline-polling-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GET-UNKNOWN-ERR0R","download_url":"https://codeload.github.com/GET-UNKNOWN-ERR0R/online-polling-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Fonline-polling-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34645681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arpit-prajapati","batch-file","cpp-programming","get-unknown-err0r","github","online-polling-system","shell"],"created_at":"2025-01-06T16:19:40.558Z","updated_at":"2026-06-22T10:31:35.823Z","avatar_url":"https://github.com/GET-UNKNOWN-ERR0R.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Online Polling System\n\nA polling system implemented in C++ where users can vote for their favorite cricketer from a predefined list of options. After voting, users can view the current poll results, which show the number of votes for each option and the corresponding percentages. The poll is active until a predefined expiration date, after which users can no longer vote.\n\n## Output:\n\n![image](poll.png)\n\n## Features\n- Users can vote for their favorite cricketer from a list of options.\n- Voting is limited to one vote per user.\n- Results are updated after each vote and displayed in percentage format.\n- Poll expiration is set to a specific date.\n- Colorful, professional, and user-friendly terminal interface.\n\n## Poll Options\n1. **MS Dhoni** - The legendary former captain of India.\n2. **Virat Kohli** - The modern-day cricketing icon.\n3. **Rohit Sharma** - The hitman of Indian cricket.\n4. **Shikhar Dhawan** - The dashing opener of India.\n\n## Poll Expiration\nThe poll expires on **2024-12-31**. After this date, users will no longer be able to vote.\n\n## File Structure\n- `poll_results.txt`: Stores the vote counts for each option.\n- `users_voted.txt`: Keeps track of users who have already voted to prevent multiple votes from the same user.\n- `poll.cpp`: Main C++ program file that handles the polling logic.\n\n## Setup Instructions\n1. Ensure you have a C++ compiler installed (e.g., GCC or Clang).\n2. Clone or download the repository to your local machine.\n\n## How to Run the Program\n1. Clone The Repo:\n   ```bash\n   git clone https://github.com/GET-UNKNOWN-ERR0R/online-polling-system.git\n   ```\n   ```bash\n   cd online-polling-system\n   ```\n2. Run The Program:\n   ```bash\n   g++ -o poll poll.cpp\n   ```\n   ```bash\n   ./poll\n   ```\n## License    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fget-unknown-err0r%2Fonline-polling-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fget-unknown-err0r%2Fonline-polling-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fget-unknown-err0r%2Fonline-polling-system/lists"}