Dường như theo mặc định, cout là đỏ ửng trước mỗi hoạt động đầu vào trên cin:
http://www.cplusplus.com/reference/ios/ios/tie/
cin.tie (0) lần lượt được điều này bằng cách thay vì "buộc" cin để không có gì.
có lẽ điều này được thực hiện vì lý do hiệu suất. Nó sẽ làm cho một sự khác biệt đáng kể trong chương trình đan xen nhiều cin / cout cuộc gọi, chẳng hạn như những người trả lời một số lượng lớn các truy vấn từ đầu vào một cách trực tuyến.
đang được dịch, vui lòng đợi..