Can someone please explain what is the advantage of using this code:

Правка en1, от DON_BD, 2018-12-29 11:29:27

ifdef _DEBUG freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout);

endif

Теги _debug, #ifdef, #endif, file input

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский DON_BD 2018-12-29 11:30:28 18 Tiny change: '\n~~~~~\n#if' -> '~~~~~\n#if'
en1 Английский DON_BD 2018-12-29 11:29:27 165 Initial revision (published)