+ 1

any potential memory issues to worry about in this code?

hey, made a code that implements lists in C using memory allocation and i want to make sure that i can't get any errors related to memory in it, so if anyone can tell me, would appreciate it. https://code.sololearn.com/c2D3HSppMv60/?ref=app

18th Jun 2018, 9:52 PM
hinanawi
hinanawi - avatar
2 Réponses
+ 1
No memory issues to be seen by me. Just wanted to point out that your program is recreating functionality closer to vector than list. If you'd like to see how list is done I created one recently: https://code.sololearn.com/cIh28TABK8OV/?ref=app
18th Jun 2018, 10:17 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 1
Jakub Stasiak yea when i said list i was thinking of lists in c#. thanks for your input!
18th Jun 2018, 10:18 PM
hinanawi
hinanawi - avatar