Skip to main content
Added syntax highlighting.
Source Link
Pang
  • 10.2k
  • 146
  • 87
  • 126

NUL works programmatically as well. E.g. the following:

freopen("NUL", "w", stderr); 
freopen("NUL", "w", stderr); 

works as expected without creating a file. (MSVC++ 12.0)

NUL works programmatically as well. E.g. the following:

freopen("NUL", "w", stderr); 

works as expected without creating a file. (MSVC++ 12.0)

NUL works programmatically as well. E.g. the following:

freopen("NUL", "w", stderr); 

works as expected without creating a file. (MSVC++ 12.0)

Source Link
avadin
  • 411
  • 5
  • 8

NUL works programmatically as well. E.g. the following:

freopen("NUL", "w", stderr); 

works as expected without creating a file. (MSVC++ 12.0)