tie with stdio code example Example: base sync cin.tie ios_base::sync_with_stdio(false); cin.tie(NULL);