Say you have this code:
Code:
float *Pi = new float;
*Pi = 3.141592;
delete Pi;
Why wouldn't you just use this:
Code:
float Pi = 3.141592;