Question about some code

Revision en1, by IF-THEN, 2020-09-04 15:33:39

What doe the following code mean ? Why use it ?

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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English IF-THEN 2020-09-04 15:33:39 192 Initial revision (published)