{"id":18744957,"url":"https://github.com/rkstudio585/palindrome-checker-c","last_synced_at":"2025-11-22T19:30:18.117Z","repository":{"id":255988486,"uuid":"854053366","full_name":"rkstudio585/palindrome-checker-c","owner":"rkstudio585","description":"Palindrome Checker is a C program that determines if a string reads the same forward and backward. It ignores non-alphanumeric characters and is case-insensitive. The program runs in a loop, allowing multiple checks, and provides clear results and prompts to continue or exit.","archived":false,"fork":false,"pushed_at":"2024-09-08T09:33:46.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T20:14:12.737Z","etag":null,"topics":["c-project","c-script","palindrome","palindrome-c","palindrome-c-script","palindrome-checker","palindrome-number","palindrome-string"],"latest_commit_sha":null,"homepage":"https://rkstudio.com","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/rkstudio585.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-09-08T09:29:31.000Z","updated_at":"2024-09-08T09:33:49.000Z","dependencies_parsed_at":"2024-09-08T11:56:12.055Z","dependency_job_id":null,"html_url":"https://github.com/rkstudio585/palindrome-checker-c","commit_stats":null,"previous_names":["mdriyadkhan585/palindrome-checker-c","rkstudio585/palindrome-checker-c"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fpalindrome-checker-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fpalindrome-checker-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fpalindrome-checker-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fpalindrome-checker-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkstudio585","download_url":"https://codeload.github.com/rkstudio585/palindrome-checker-c/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239627247,"owners_count":19670844,"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":["c-project","c-script","palindrome","palindrome-c","palindrome-c-script","palindrome-checker","palindrome-number","palindrome-string"],"created_at":"2024-11-07T16:16:26.518Z","updated_at":"2025-11-22T19:30:15.796Z","avatar_url":"https://github.com/rkstudio585.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Palindrome Checker Program 🕵️‍♂️\n---\n[In Python](https://github.com/mdriyadkhan585/palindrome-checker-python)\n\n[In Python GUI](https://github.com/mdriyadkhan585/palindrome-checker-gui)\n\n![Logo](logo.svg)\n\n---\nWelcome to the Palindrome Checker program! This C application checks whether a given string is a palindrome—a word, phrase, or sequence that reads the same backward as forward. Follow the instructions below to use and understand this program.\n\n## Features ✨\n\n- **Checks for Palindromes**: Determines if the input string reads the same forward and backward, ignoring non-alphanumeric characters and case.\n- **User-Friendly Loop**: Allows multiple checks in one run of the program.\n- **Input Validation**: Handles empty strings and provides informative messages.\n\n## How to Use 📜\n\n### Compilation ⚙️\n\n1. Ensure you have a C compiler installed (e.g., `gcc`).\n2. Save the code into a file named `palindrome_checker.c`.\n\n```bash\n    git clone https://github.com/mdriyadkhan585/palindrome-checker-c\n    cd palindrome-checker-c\n    gcc -o palindrome_checker palindrome_checker.c\n```\n\nThis command compiles the code and generates an executable named `palindrome_checker`.\n\n### Running the Program 🚀\n\n1. Run the compiled executable.\n\n```bash\n./palindrome_checker\n```\n\n2. The program will prompt you to enter a string.\n\n3. After you enter a string, it will determine if the string is a palindrome and display the result.\n\n4. You will then be asked if you want to check another string. Type `y` or `Y` to continue, or `n` or `N` to exit.\n\n### Example Usage 🖥️\n\n```plaintext\nEnter a string: A man a plan a canal Panama\nThe input string is a palindrome.\nDo you want to check another string? (y/n): y\nEnter a string: Hello, World!\nThe input string is not a palindrome.\nDo you want to check another string? (y/n): n\nExiting the program.\n```\n\n## Code Overview 📝\n\n### `isPalindrome` Function 🔍\n\n- **Purpose**: Checks if the string is a palindrome.\n- **How It Works**:\n  - Uses two pointers to compare characters from the start and end.\n  - Skips non-alphanumeric characters and ignores case.\n\n### `main` Function 🏠\n\n- **Purpose**: Manages user input and interaction.\n- **Features**:\n  - Reads the input string.\n  - Removes the newline character.\n  - Checks if the string is empty and prompts the user accordingly.\n  - Asks if the user wants to check another string.\n\n## Troubleshooting 🛠️\n\n- **Input Issues**: If you encounter errors reading input, ensure your environment supports `fgets`.\n- **Compilation Errors**: Make sure you have a compatible C compiler and that the code is saved correctly.\n\n## Contributing 🤝\n\nFeel free to contribute by improving the code or adding features. Submit pull requests or suggestions via [GitHub](https://github.com/mdriyadkhan585).\n\n## License 📜\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkstudio585%2Fpalindrome-checker-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkstudio585%2Fpalindrome-checker-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkstudio585%2Fpalindrome-checker-c/lists"}