// A degenerate client of the accumulator // Also the left member of the coroutine #include #include "x.h" int main(){ // I want an accumulator: printf("zeroth val = %d\n", begin(11)); for(int j=0; j<10; ++j) printf("%d %d\n", j, PutGetL(j)); // Sometime I will tear it down. return 0;}