> 有关“重头”的文章
  • 环形缓冲区

    环形缓冲区

    1.定义一个数组: char buf[8]; 2.定义一个读位置为0,定义一个写位置为0。 int r=0; int w=0; 3.写数据: buf[w++]...

    03-21 0 632 文章列表