Is this const in the function parameter redundant?If I add a const before a function parameter, that means I will not change the parameter within the ...
What's the difference between shared pointers and normal ones?Oh.. what if I make a shared pointer that points to an object instantiated within a function and ret...
What's the difference between shared pointers and normal ones?According to the docs, shared pointers allow for many objects to own another object (I think?). h...
How do I repeat "template " less?I am teaching myself templates in C++ classes and functions. The following code runs as expected, pr...
Why can I override a function without the virtual key word?Thank you! But why does me having a pointer to a `Shark` as opposed to a `Fish` allow me to override...
This user does not accept Private Messages