Mercurial > hg > Game > Cerium
view example/regex_mas/ppe/Print.cc @ 1620:bb0384fb5a56 draft
add separeta in word process
author | Masa <e085726@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 18 May 2013 20:20:10 +0900 |
parents | 0003782eaec9 |
children | f907bbac14f2 |
line wrap: on
line source
#include <stdio.h> #include <string.h> #include "Print.h" #include "Func.h" #include "WordCount.h" /* これは必須 */ SchedDefineTask1(Print,run_print); static int run_print(SchedTask *s, void *rbuf, void *wbuf) { WordCount *w = *(WordCount**)rbuf; unsigned long long *idata = w->o_data; // long task_num = w->task_num; for (int i = 0;i < 8;i++) { s->printf("%c\n",(char)idata[i]); } return 0; }