https://github.com/halworsen/cpplists
C#-like lists in C++
https://github.com/halworsen/cpplists
Last synced: 3 months ago
JSON representation
C#-like lists in C++
- Host: GitHub
- URL: https://github.com/halworsen/cpplists
- Owner: halworsen
- Created: 2015-01-03T00:39:56.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-17T20:55:42.000Z (over 10 years ago)
- Last Synced: 2023-02-26T09:41:59.889Z (over 2 years ago)
- Language: C++
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## C++ Lists
**NOTE: This is unfinished!**
### What
An implementation of C#-like Lists in C++, essentially a dynamically resizing array.
### Why
"Why not just use vector? Or the list class provided by the standard library?"
Because I'm a fucking retard (by not realizing I could have) and I wanted a challenge. Besides, who wants the ugly function names that vectors have?
### How
By giving the class a dynamic memory array, you can remake the array each time a value is added or removed with a new size, essentially making it resize dynamically.
Or, in other words, by completely fucking up the use of dynamic memory allocation for arrays and creating an abomination.
### Other
See wiki for documentation.
**NOTE: This is complete shit!**
This is my first C++ project, and is more likely than not riddled with horrible code making you want to commit suicide. Don't blame me, I don't know any better yet.
### You have been warned!