da_cow (she/her)@feddit.org to Programmer Humor@programming.dev · 2 个月前I got to avoid memory management for quite some timefeddit.orgexternal-linkmessage-square65fedilinkarrow-up1336arrow-down113file-text
arrow-up1323arrow-down1external-linkI got to avoid memory management for quite some timefeddit.orgda_cow (she/her)@feddit.org to Programmer Humor@programming.dev · 2 个月前message-square65fedilinkfile-text
Finally I have a valid reason to learn about memory management. It was also hella weird when encountering it.
minus-squareozymandias117@lemmy.worldlinkfedilinkEnglisharrow-up6·2 个月前And understand when you can use them… I’ve seen too much code following this advice blindly that just does something like strncpy(dst, src, strlen(src))
And understand when you can use them…
I’ve seen too much code following this advice blindly that just does something like
strncpy(dst, src, strlen(src))