{"id":20236863,"url":"https://github.com/vedantparanjape/linkedlist-","last_synced_at":"2025-10-08T08:17:59.461Z","repository":{"id":106387230,"uuid":"108831022","full_name":"VedantParanjape/LinkedList-","owner":"VedantParanjape","description":"LinkedList++ is a C++ Linked List templated class library","archived":false,"fork":false,"pushed_at":"2020-10-06T17:26:12.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T00:49:49.789Z","etag":null,"topics":["cplusplus-11","library","linkedlist"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VedantParanjape.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":"2017-10-30T09:46:06.000Z","updated_at":"2021-11-15T10:16:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"83eb92d8-9de1-48ea-bd07-8aea8dbead3e","html_url":"https://github.com/VedantParanjape/LinkedList-","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VedantParanjape%2FLinkedList-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VedantParanjape%2FLinkedList-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VedantParanjape%2FLinkedList-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VedantParanjape%2FLinkedList-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VedantParanjape","download_url":"https://codeload.github.com/VedantParanjape/LinkedList-/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241680839,"owners_count":20002194,"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":["cplusplus-11","library","linkedlist"],"created_at":"2024-11-14T08:23:36.741Z","updated_at":"2025-10-08T08:17:54.444Z","avatar_url":"https://github.com/VedantParanjape.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LinkedList++\n\n1234\nLinkedList++ is a C++ Linked List template class library.\nThis is a simple plug and play library. There is no need to compile it using cmake or anything. Just include it in your code with correct path and create a class object and use it to store data in a linked list.\n\nIt has member functions:\n```\n1. node* createnode(T data) ----- creates a new node and returns its location as pointer to its location, pass data to be stored into it as argument\n\n2. LinkedList () ---------------- class constructor\n\n3. void add(T data) ------------- function to add nodes to the linked list\n\n4. T\u0026 operator[](int location) -- operator overloaded function to pass node data as a reference, can be used to reassign and extract values\n\n5. void del(int location) ------- function to delete node of linked list \n\n6. int size() ------------------- function to return size of linked list\n```\nExample code:\n\n```\n#include \"LinkedList++.hpp\"\n#include \u003ciostream\u003e\n\nint menu()\n{\n\tint option = 0;\n\t\n\tsystem(\"cls\");\n\tstd::cout\u003c\u003c\"1. Add node \\n\"\n\t         \u003c\u003c\"2. Change node data \\n\"\n\t         \u003c\u003c\"3. Delete node \\n\"\n\t         \u003c\u003c\"4. Show size \\n\"\n\t         \u003c\u003c\"5. Show node data \\n\"\n\t         \u003c\u003c\"6. Exit \\n\";\n\tstd::cin\u003e\u003eoption;\n\t\n\treturn option;\t    \n} \n\nint main()\n{\n\tLinkedList\u003cint\u003e list;\n\tint  loc = 0;\n\tauto data = 0;\n\t\n\tdo\n\t{\n\t\tswitch(menu())\n\t\t{\n\t\t\tcase 1:\n\t\t\t\tstd::cout\u003c\u003c\"Enter node data: \";\n\t\t\t\tstd::cin\u003e\u003edata;\n\t\t\t\tlist.add(data);\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\tcase 2:\n\t\t\t\t\tstd::cout\u003c\u003c\"Enter node location: \";\n\t\t\t\t\tstd::cin\u003e\u003eloc;\n\t\t\t\t\tstd::cout\u003c\u003c\"Enter node data: \";\n\t\t\t\t\tstd::cin\u003e\u003edata;\n\t\t\t\t\tlist[loc] = data;\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tstd::cout\u003c\u003c\"Enter node location: \";\n\t\t\t\t\t\tstd::cin\u003e\u003eloc;\n\t\t\t\t\t\tlist.del(loc);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\n\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\tstd::cout\u003c\u003c\"Size of linked list is \"\u003c\u003clist.size()\u003c\u003c\"\\n\";\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tcase 5:\n\t\t\t\t\t\t\t\tstd::cout\u003c\u003c\"Enter the node location: \";\n\t\t\t\t\t\t\t\tstd::cin\u003e\u003eloc;\n\t\t\t\t\t\t\t    std::cout\u003c\u003clist[loc]\u003c\u003c\"\\n\";\n\t\t\t\t\t\t\t    system(\"pause\");\n\t\t\t\t\t\t\t    break;\n\t\t\t\t\t\t\t    \n\t\t\t\t\t\t\t    case 6:\n\t\t\t\t\t\t\t    \texit(0);\n\t\t\t\t\t\t\t    \tbreak;\n\t\t}\n\t}while(1);\n}\n```\n\n1) Sravan Chittupalli","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedantparanjape%2Flinkedlist-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvedantparanjape%2Flinkedlist-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedantparanjape%2Flinkedlist-/lists"}