+ 1

Can someone help me with this ?

I have made this calculator v2.0 and is looking forward to publish the v2.1 . I have an idea to assign the variables to the heap instead of the stack so that it can store unknown quantity of input . But I can't figure out how to do it . Can anybody help me with this problem ? Calculator v2.0 : https://code.sololearn.com/cD3Hk8xEVsB6/?ref=app

14th Oct 2021, 12:28 PM
Pritam Santra
Pritam Santra - avatar
1 Odpowiedź
0
Pritam Santra I only know what I know about c++ from the lessons here on Sololearn. But a quick search in Bing yielded this: https://www.tutorialspoint.com/proper-stack-and-heap-usage-in-cplusplus I imagine a few targeted searches would help you find your answer
14th Oct 2021, 6:13 PM
Paul K Sadler
Paul K Sadler - avatar