Making a Vector Library in C

Поділитися
Вставка
  • Опубліковано 29 бер 2019
  • Making a Vector Library in C
    source code: github.com/Mashpoe/C-VECTOR_L...
    original comic: www.mrlovenstein.com/comic/10...
  • Наука та технологія

КОМЕНТАРІ • 4

  • @ziggy6698
    @ziggy6698 2 роки тому +5

    Perfect amount of info to get your feet wet with implementations, recommending this clip to students. Very nice.

  • @AdityaSharma-fp3de
    @AdityaSharma-fp3de 3 роки тому +8

    Thank you!

  • @AYVYN
    @AYVYN 2 роки тому +9

    You could avoid casting so much by storing data in void** instead of a character array.
    void** data can be accessed by Vector->Data[ ] and then cast to any type by the user.

    • @Mashpoe
      @Mashpoe  2 роки тому +4

      I've actually improved the design of the vector a lot since I made this video. Now the user doesn't have to do any casting at all! You can check it out in the github repo, I might make a followup video someday...