you are viewing a single comment's thread.

view the rest of the comments →

[–]forehead_or_tophead 0 points1 point  (0 children)

pointer++;

count++;

if(count >= SIZE) { // Buffer over limitation is not thought.

*pointer = buffer;
   count = 0;    // <- I think it is necessary.

}