clear 语法: void clear( iostate flags = goodbit ); 函数clear()清除与当前流相关联的标志。默认标志是goodbit它清除所有标志.否则只有指定的标志被清除。