Improving My String Library

Sdílet
Vložit
  • čas přidán 26. 03. 2019
  • Improving My String Library
    Old string library: github.com/Mashpoe/Basic-Stri...
    New string library: github.com/Mashpoe/C-STRING-L...
    SDS: github.com/antirez/sds
  • Věda a technologie

Komentáře • 9

  • @sankalpmukim1052
    @sankalpmukim1052 Před 2 lety +1

    Super cool project and great explanation! Kudos!

  • @TheSuperBoyProject
    @TheSuperBoyProject Před 3 lety +2

    Hello, great library! I've been using it for a couple of weeks and it has been very useful. However, it seems like the string_add function is either completely useless when it comes to adding a new string at the end or just throws a 'malloc(): corrupted top size' exception. I've been using string_insert instead but someone else might not have thought of it. Cheers!

    • @Mashpoe
      @Mashpoe  Před 3 lety +2

      Thanks for your comment! I didn't think many people used my libraries. I'll look into it when I have time

    • @TheSuperBoyProject
      @TheSuperBoyProject Před 3 lety +1

      @@Mashpoe i use both your string and vector libraries. They're great!

    • @Mashpoe
      @Mashpoe  Před 3 lety +2

      ​@@TheSuperBoyProject Thanks! I think I found the bug and it should be fixed now. If there are still any issues just let me know :)

  • @sullivanbarnett6904
    @sullivanbarnett6904 Před 5 lety +1

    You better not be uploading past your bed time buckaroo

  • @flippy2
    @flippy2 Před 11 měsíci

    chicken

  • @gargamel3478
    @gargamel3478 Před 11 dny +1

    I don't bother using string libraries. Char* + sprintf = good results. Not memory safe? Well that's a skill issue.