I'm using Microsoft Visual C++, and for some reason, the syntax that some tutorials give me for creating new objects and deleting them doesn't work. I've tried the following ways:
Cat Frisky = new Cat;
new Cat Frisky;
Cat Frisky;
new Frisky Fluffy;
new Cat = Frisky;
And none of them work. I dont know the proper syntax for this. Could someone help me out? I tried a lot of different syntax, but nothing works.