C++ Primer Plus 第六版课后习题答案(第八章)
8.1#include <iostream>using namespace std;void p1(const string &str, const int times=0){ static int called = 0; int repeat = times>0 ? called : 0; do { cout << str << endl;