Hi All,
Quick question...
I have a structure for a specific type of vector:
struct SParticle {
float Position;
float Velocity;
float FcnVal;
float LocalBest;
float LocalBestVal;
}
But now I need to define 30 objects for this structure. Is there an easy way for doing this or should I just define them one by one?
SParticle object1, object2, ...;
Thanks
Salman