Video tutorials about programming in the C++ programming language. Part 51: * more heap-memory ugliness * OOP insight Pardon my imperfect english. Forum: cpptutorials.freeforums.org If you have any suggestions about how to make this video clearer, more n00b helpful, and explanatory, please send me a message. If you have any C++ questions, please comment.
How about using malloc? Malloc is a great function.
There is literally *nothing* more important to understand in c && c++ than pointers and memory. You can’t to much of anything useful without it, so don’t avoid it, understand it. Imo I would teach pointers and memory before I even started talking about syntax or flow control.
as we are at read only
with what does hidden files work
yes)
which reminds me… did i talk about deleting arrayis from free store with
delete []
?
It’s also nice because you can create an array then delete the array right after to save memory
many reasons… as explained in the vids
What is the point of putting variables on the heap instead of the normal way? so other programs can access them?
we still got lots to learn… but untill i get there, look up fstream/ifstream/ofstream
how do i get my program to output to a .txt doc?
good tutorial, do ya know what ya doing for ya next one? anyway keep OOP the good work(oop get it:).