{"id":20973854,"url":"https://github.com/pujolsluis/stringlistgenerator","last_synced_at":"2026-05-25T09:03:12.440Z","repository":{"id":102944882,"uuid":"128817442","full_name":"Pujolsluis/StringListGenerator","owner":"Pujolsluis","description":"Program to generate a collection of strings for a Collection Initialization (Vector, List, etc).","archived":false,"fork":false,"pushed_at":"2018-04-09T19:55:49.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T05:34:39.560Z","etag":null,"topics":["collections","cpp","generator","initialization","list","strings","utils","vector"],"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/Pujolsluis.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":"2018-04-09T18:36:20.000Z","updated_at":"2018-04-09T21:35:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7a2d32c-34f0-41f1-a327-87a6720476fb","html_url":"https://github.com/Pujolsluis/StringListGenerator","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/Pujolsluis%2FStringListGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pujolsluis%2FStringListGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pujolsluis%2FStringListGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pujolsluis%2FStringListGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pujolsluis","download_url":"https://codeload.github.com/Pujolsluis/StringListGenerator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243374208,"owners_count":20280656,"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":["collections","cpp","generator","initialization","list","strings","utils","vector"],"created_at":"2024-11-19T04:22:09.773Z","updated_at":"2025-12-26T09:34:23.852Z","avatar_url":"https://github.com/Pujolsluis.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# String List Generator\nProgram to generate a collection of strings for a Collection Initialization (Vector, List, etc).\n\n## How to use\n- Clone the repo.\n- Open and compile Project in your C++ IDE of Choice.\n- Run the Program and insert an input file with space or line break separated strings.\n- Check that if you are on **Windows** you have activated the **Quick Edit Mode** in your cmd. To do so right click you're cmd choose **Properties \u003e Options \u003e Edit Options**.\n- Insert the EOF Signal to the console **Windows:** \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eZ\u003c/kbd\u003e or **Mac:** \u003ckbd\u003eCmd\u003c/kbd\u003e + \u003ckbd\u003eD\u003c/kbd\u003e\n\n### Examples (List types)\nYou can input a list of sentences with line breaks.\n```txt\n3D animation\nThe game has started\nJump over the fence\nRuning as fast as the speed of light\nLooking into the eyes of the lion\n```\n\n### or\n\nYou can input a list of space separated words.\n\n```txt\nCat Dog Fish Hamster Crocodile\n```\n\n## Result\nCopy and paste the result to you're app source code and you're ready to keep on you're happy coding streak!\n```txt\n---- DONE READING INPUT FILE ----\n\"3D animation\",\n\"The game has started\",\n\"Jump over the fence\",\n\"Runing as fast as the speed of light\",\n\"Looking into the eyes of the lion\",\n---- DONE PRINTING OUTPUT ----\n```\n\n```txt\n---- DONE READING INPUT FILE ----\n\"Cat\",\n\"Dog\",\n\"Fish\",\n\"Hamster\",\n\"Crocodile\",\n---- DONE PRINTING OUTPUT ----\n```\n\n## Type of lists\nIf you wish to switch between the type of input files you are going to read you just need to comment and uncomment the following lines of code.\n```cs\n    // Line break sentence list.\n    while(getline(cin, inputString)){\n        inputList.push_back(inputString);\n    }\n\n    // Space separated word list.\n    /*\n    while(cin \u003e\u003e inputString){\n        inputList.push_back(inputString);\n    }\n    */\n```\n\n## Sorting\nIf you wish to sort the list before printing it out to initialize you're own collection, you can uncomment the following line in the program and it will sort the list before giving you the output.\n```cs\n// sort(inputList.begin(), inputList.end());\n```\n\n## Contributors\nIf you wish to contribute to the project all ideas and improvements are welcomed, send in a PR and add yourself in the list of Contributors!\n* [Luis Pujols](https://github.com/pujolsluis)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpujolsluis%2Fstringlistgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpujolsluis%2Fstringlistgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpujolsluis%2Fstringlistgenerator/lists"}