{"id":20322916,"url":"https://github.com/naemazam/word-to-binary-convert","last_synced_at":"2025-06-19T12:38:05.813Z","repository":{"id":112434343,"uuid":"430169379","full_name":"naemazam/Word-to-Binary-Convert","owner":"naemazam","description":"Convert Your Love letter to Binary, Even Your GF can't Understand ","archived":false,"fork":false,"pushed_at":"2021-11-20T17:46:40.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T13:57:07.242Z","etag":null,"topics":["cpp","naemazam","word-to-binary"],"latest_commit_sha":null,"homepage":"","language":null,"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/naemazam.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":"2021-11-20T17:41:13.000Z","updated_at":"2022-02-27T06:03:10.000Z","dependencies_parsed_at":"2023-05-15T02:45:28.359Z","dependency_job_id":null,"html_url":"https://github.com/naemazam/Word-to-Binary-Convert","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naemazam%2FWord-to-Binary-Convert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naemazam%2FWord-to-Binary-Convert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naemazam%2FWord-to-Binary-Convert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naemazam%2FWord-to-Binary-Convert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naemazam","download_url":"https://codeload.github.com/naemazam/Word-to-Binary-Convert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241827165,"owners_count":20026601,"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","naemazam","word-to-binary"],"created_at":"2024-11-14T19:25:36.721Z","updated_at":"2025-03-04T10:14:44.737Z","avatar_url":"https://github.com/naemazam.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eWord to Binary Convert\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e Convert Your Loveletter to Binary \u003c/p\u003e\n\u003c/p\u003e \n\n## Simple Knowledge\n\nA binary number is a number expressed in the base-2 numeral system or binary numeral system, a method of mathematical expression which uses only two symbols: typically \"0\" and \"1\". The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit, or binary digit.\n\n## CPP Code \n\nCopy code and test on Any Editor\n\n```cpp\n#include \u003cbits/stdc++.h\u003e\nusing namespace std;\nint main()\n{\n    string a;\n    cin\u003e\u003ea;\n    for(int i=0;i\u003cint(a.size());i++)\n    {\n    \n        //convert each character to its decimal representation\n        int b=int(a[i]);\n        vector\u003cint\u003e c;\n        \n        //convert from dec to bin\n        while(b!=0)\n        {\n            c.push_back(b%2);\n            b/=2;\n        }\n        \n        //Input characters\n        cout\u003c\u003ca[i]\u003c\u003c\" = \";\n        \n        //completing the missing bits\n        for(int j=0;j\u003cint(8-c.size());j++)\n            cout\u003c\u003c0;\n        \n        //the output\n        for(int j=c.size()-1;j\u003e=0;j--)\n            cout\u003c\u003cc[j];\n        cout\u003c\u003c\"\\n\";\n    }\n    cout\u003c\u003c\"\\nConvert completed..\";\n    return 0;\n}\n```\n\n\n## Demo Output\n```cpp\na = 01100001\nz = 01111010\na = 01100001\nm = 01101101\n\nConvert completed..\n```\n\n## Contributing\n\nContributions are always welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaemazam%2Fword-to-binary-convert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaemazam%2Fword-to-binary-convert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaemazam%2Fword-to-binary-convert/lists"}