lysdexicM to C++English · 9 months agoHow not to check array size in C++pvs-studio.comexternal-linkmessage-square8fedilinkarrow-up130arrow-down12
arrow-up128arrow-down1external-linkHow not to check array size in C++pvs-studio.comlysdexicM to C++English · 9 months agomessage-square8fedilink
minus-squarexep@fedia.iolinkfedilinkarrow-up1·edit-29 months agoThe article did mention that that’s what you’d probably have to do. I have only one pointer (for example, if you created an array using new) In most cases, it’s necessary to rewrite the program a bit and add an array size passing. Sadly, that’s how it works.
The article did mention that that’s what you’d probably have to do.