lysdexic@programming.devM to C++@programming.devEnglish · 8 months agoHow not to check array size in C++pvs-studio.comexternal-linkmessage-square8fedilinkarrow-up129arrow-down12
arrow-up127arrow-down1external-linkHow not to check array size in C++pvs-studio.comlysdexic@programming.devM to C++@programming.devEnglish · 8 months agomessage-square8fedilink
minus-squarexep@fedia.iolinkfedilinkarrow-up1·edit-27 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.