#include <iostream> void clear(iostate flags = goodbit);
ios
clear() , . flags goodbit ( ), , .. , . , flags.