heap x stack
Hello everybory. IÂ´d like to ask the following question:
IÂ´ve been developing a program, but because itÂ´s the first one in C++, too many questions has come together. I know I can figure them out bymyself as I have done on 99% of them, but help is Always welcome.
My program, using serialization, not a independent database, is gonna grow too big at certain point of time.
Because using serializing inputs the whole ifstream into memory, I wonder if I should use the heap or stack.
Actually, I donÂ´t know if this has something to do with that. I mean, I learn just what I need and then if I have problems or later on when IÂ´m done with what I need, I start studying the rest of it as I just love C and C++
Ahh, my program is a console application.
MAIN QUESTION: SHOULD MY CONSOLE APPLICATION TO BE BASED ON HEAP OR STACK?
Thank you so much, Robson