Ok, I am sorry for this question because the answer is most likely stupidly simply. ok well I did something similar to this
Code:
#include <iostream>

using namespace std;

class data_arc {
   data_arc()
   {}
   virtual void display() const = 0;
};

class data_main : public data_arc {
   data_main()
   {}
   virtual void display() const
   { //blablabla
   }
   //other stuff
};


int main() 
{
   data_arc* data = new data_main;
   data->display();
   delete data;
   data_arc* data = new data_main;
   data->somethingelse();
   delete data;
}
basicly my question is how do I have my program automatically create instances of a class. because I need to be able to have alot of instances of classes (game), for different elements. Such as enemies, story elements, and other events. Thank you very much for any assistance