memmove() Function | C Programming Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • How to use the memmove() function in C, including when to use memmove() vs. when to use memcpy(). Source code: github.com/por.... Check out www.portfolioc... to build a portfolio that will impress employers!

ความคิดเห็น • 26

  • @brendanreeves9645
    @brendanreeves9645 ปีที่แล้ว +2

    I've been watching your videos for help in my computer systems class, and your content is the BEST there is on TH-cam my friend. Thank you for creating such succinct, intuitive content for those learning the C language!

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว +1

      You're welcome! :-) Thank you so much for taking the time to leave such positive feedback, it's much appreciated. I see it's a couple of years ago now, but congratulations on getting into Stanford, that's very exciting.

  • @Alp-yp5un
    @Alp-yp5un 6 หลายเดือนก่อน

    Very good explanation... however I came across a small mistake @ 6:41 where you said "memcpy" instead of "memmove." Just thought making this clear in the commend section will help others get less confused. Other than that thanks a lot for your great content

  • @mouadflp1480
    @mouadflp1480 ปีที่แล้ว +3

    thank you man , your awesome, give us some tut about MAKEFILE please

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว +3

      Thanks Mouad, that one gets requested a lot, I'm hoping to do that topic one day. :-)

  • @christianonuegbu1587
    @christianonuegbu1587 6 หลายเดือนก่อน

    Please makefile, I vote for it too Ur explanation is superb

    • @PortfolioCourses
      @PortfolioCourses  6 หลายเดือนก่อน

      I still really want to do a makefile tutorial one day, unfortunately that's "a big one" to do so I haven't had time yet.

  • @-chaaoui7552
    @-chaaoui7552 2 ปีที่แล้ว +2

    Well explained. Can you do a video about makefile in the future.

    • @PortfolioCourses
      @PortfolioCourses  2 ปีที่แล้ว +4

      Yes, one day I will do a video on makefiles for sure. It's a big topic so perhaps I will start with an introduction video first to introduce the concept. 🙂

  • @natevaub
    @natevaub ปีที่แล้ว

    Thanks for all your video :)

  • @yusufkhusanovic1266
    @yusufkhusanovic1266 2 ปีที่แล้ว +1

    Great explanation

  • @user-ck7mm3nh5c
    @user-ck7mm3nh5c ปีที่แล้ว

    Very good!

  • @fenixtv1738
    @fenixtv1738 ปีที่แล้ว

    real G

  • @thebestteacher7466
    @thebestteacher7466 ปีที่แล้ว

    how to create my own memmove function?

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว

      I don't have a video covering that yet unfortunately. You might be able to find some sources online like this one to help: aticleworld.com/memmove-function-implementation-in-c/. :-)

  • @ousamahaddadi1032
    @ousamahaddadi1032 ปีที่แล้ว

    make the Makefile video please , we already understand it , but we want to watch your explanation though

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว

      I want to do a video on makefiles for sure Ousama, the problem is that one will take a fair bit of time to create. I need a day with a lot of time free to make that video, and I may not get a day like that until December or January. :-(

  • @justcurious1940
    @justcurious1940 ปีที่แล้ว

    thank u kevin
    but they are actually giving the same results when memory overlaps even with big buffer

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว +1

      memmove() guarantees the correct behaviour, memcpy() does not guarantee the correct behaviour, that is the difference. So memcpy() might work or it might not. :-)

    • @justcurious1940
      @justcurious1940 ปีที่แล้ว

      @@PortfolioCourses thank u for replying
      should we expect an implementation for this function ?

    • @PortfolioCourses
      @PortfolioCourses  ปีที่แล้ว +1

      Hopefully one day yes! :-)