M Michael641 Commendable Apr 27, 2016 31 0 1,530 Aug 2, 2016 #1 When programming with c++, is memory allocation mandatory?
Solution McHenryB Aug 2, 2016 Any useful program will allocate memory in the form of variables or objects. So, yes, it is mandatory. But I have a feeling that you didn't ask the question you wanted the answer to.
Any useful program will allocate memory in the form of variables or objects. So, yes, it is mandatory. But I have a feeling that you didn't ask the question you wanted the answer to.
rgd1101 Don't Moderator Nov 7, 2011 74,465 4,122 176,290 Aug 2, 2016 #2 what exact are you trying to do? Upvote 0 Downvote
McHenryB Admirable Jan 31, 2015 2,019 0 6,460 Aug 2, 2016 Solution #3 Any useful program will allocate memory in the form of variables or objects. So, yes, it is mandatory. But I have a feeling that you didn't ask the question you wanted the answer to. Upvote 0 Downvote Solution
Any useful program will allocate memory in the form of variables or objects. So, yes, it is mandatory. But I have a feeling that you didn't ask the question you wanted the answer to.
A Alabalcho Titan Jan 13, 2011 14,016 432 81,090 Aug 2, 2016 #4 If you do allocation, don't forget to return it before it's too late 😉 Upvote 0 Downvote