You can make a std::vector<TestCase> allofem; and allofem.push_back(TestCase()) X times; remember to #include <vector> of course. Then you can loop on allofem and compute and then print on each item.
Alex Martelli
2009-07-26 04:56:40