What doe the following code mean ? Why use it ?
#ifdef _DEBUG
freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
#endif
Question about some code
What doe the following code mean ? Why use it ?
#ifdef _DEBUG
freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
#endif
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en1 |
![]() |
if-then-explorer | 2020-09-04 15:33:39 | 192 | Initial revision (published) |