What's the difference?

Revision ru2, by Jalik_2010, 2025-11-25 22:28:04

Can you please tell me what's the difference is between cin.tie(0), cin.tie(NULL) and cin.tie(nullptr)? Also, why no one talks about cout.tie()?

UPD1 Why is cout.tie() useless? I thought it reduces the time of the output

Tags input, output

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru2 Russian Jalik_2010 2025-11-25 22:28:04 85
ru1 Russian Jalik_2010 2025-11-25 21:35:09 174 Первая редакция (опубликовано)