Hi
I have a question about the free store in C++. first of all, what is that?
second, what is the difference of creating and declaring a pointer in these following two methods


Qt Code:
  1. Cat * ptrToCat: new Cat;
  2. delete ptrToCat;
To copy to clipboard, switch view to plain text mode 

Qt Code:
  1. Cat * ptrToCat
To copy to clipboard, switch view to plain text mode 


thnx for your time in advance