Redirecting stdout in C
/* freopen example: redirecting stdout */
#include <stdio.h>
int main ()
{
freopen ("myfile.txt","w",stdout);
printf ("This sentence is redirected to a file.");
fclose (stdout);
return 0;
}
Redirecting stdout in C#
'IT' 카테고리의 다른 글
전자출판 동향 (0) | 2013.02.05 |
---|---|
Readium 분석(1) (0) | 2012.12.13 |
iPhone 5 (iOS 6) - 벡터기반 지도 (0) | 2012.09.14 |
Windows 8 Release Preview 설치 (0) | 2012.08.28 |