请问istream中有类似
scanf("%1d",&a);
的用法吗?想关sync_with_stdio但是必须要读取指定长度的数组,不想转字符串处理。
sync_with_stdio
查阅cpp reference和百度都无果