At this point I am trying to get data from a std::list or std::vector. I push_back the object from a pointer into the list and go on my merry way, I do this until I get to the point I want (which is working at the moment) but then when I go to my function to iterate through the list and output it I only get the last two objects over and over for the size of the list.
for(list<Lidar>::iterator swathit = Swath.begin(); swathit != Swath.end(); ++swathit) (*swathit).print();
it doesn't seem like it should be that hard but something is royally messing up somewhere. If you have any ideas at all throw them out there.