Can anyone tell me what the difference is between:
Display *disp = new Display();
and
Display *disp;
disp = new Display();
and
Display* disp = new Display();
and
Display* disp(new Display());
Can anyone tell me what the difference is between:
Display *disp = new Display();
and
Display *disp;
disp = new Display();
and
Display* disp = new Display();
and
Display* disp(new Display());