I'm having a problem with vectors. I need to create a vector of objects that don't have a default constructor. Any ideas are appreciated ;)
Thx in advance.
You can't. std::vector requires that the type has a default constructor. If it's absolutely necessary, you can declare the vector as a vector of pointers to dynamically allocated objects.
helios u saved me, working with pointers was very hard but at last it worked, thank u very much :)