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

Revision en2, by DON_BD, 2018-12-29 11:30:28
#ifdef _DEBUG
	freopen("input.txt", "r", stdin);
//	freopen("output.txt", "w", stdout);
#endif
Tags _debug, #ifdef, #endif, file input

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English DON_BD 2018-12-29 11:30:28 18 Tiny change: '\n~~~~~\n#if' -> '~~~~~\n#if'
en1 English DON_BD 2018-12-29 11:29:27 165 Initial revision (published)