#define SIZEOF(arr) (sizeof(arr) / sizeof(arr[0])) int main(void) { note don1 = { Don, 1 }; note don05 = { Don, 0.5 }; ... note kadai1 = { KaDai, 1 }; button_t go_bs[] = { CIRCLE, CIRCLE }; Producer* go = new OnetimeSource(go_bs, SIZEOF(go_bs)); note* note_seq[] = { &un1, &un1, &un1, &un1, ..., &dondai05, &dondai05 }; Producer* taiko = new TaikoSource(note_seq, SIZEOF(note_seq), 200); Producer* delayed_taiko = new DelayFlow(taiko, 9.068); button_time menu_bs[] = { space(40), single(CIRCLE), space(3), single(CIRCLE), space(4) }; Producer* back = new EasySource(menu_bs, SIZEOF(menu_bs)); Producer* src_seq[] = { go, delayed_taiko, back }; Producer* oneset = new SequentialFlow(src_seq, SIZEOF(src_seq)); Producer* source = new RepeaterFlow(oneset); FLL fll(source); fll.run(); } 4PVSDFΛ࡞Δ 4PVSDFΛΈ߹ΘͤΔ ࣮ߦ