do (int i = 0){

} while (i < size);

こんな書き方が出来れば良かった