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!
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!
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.
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
thank you man , your awesome, give us some tut about MAKEFILE please
Thanks Mouad, that one gets requested a lot, I'm hoping to do that topic one day. :-)
Please makefile, I vote for it too Ur explanation is superb
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.
Well explained. Can you do a video about makefile in the future.
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. 🙂
Thanks for all your video :)
You're welcome Nathan! 🙂
Great explanation
Thank you Yusuf! 😀
Very good!
I'm glad you enjoyed it! :-)
real G
Thank you! :-)
how to create my own memmove function?
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/. :-)
make the Makefile video please , we already understand it , but we want to watch your explanation though
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. :-(
thank u kevin
but they are actually giving the same results when memory overlaps even with big buffer
memmove() guarantees the correct behaviour, memcpy() does not guarantee the correct behaviour, that is the difference. So memcpy() might work or it might not. :-)
@@PortfolioCourses thank u for replying
should we expect an implementation for this function ?
Hopefully one day yes! :-)