I just learned about objects. But I still dont know how to create a new one within the program.
For example:
I am writing a Harvest Moon type farming sim. I have a writen the class for the crops. Now everytime the player plants a seed, I need the program to create a new instance of that class. After the player picks the crop, that object should be deleted on its own, is that correct?
I really hope I asked that question in a way that you could understand. If not sry, and I will try to make it clearer.