C & C++ 관련 fprintf연습(표준에러_표준출력) Real_G 2008. 11. 3. 12:30 반응형 #include <stdio.h> #include <stdio.h> void main (void){ FILE *stream; int i = 100; char c = 'C'; float f = 1.2345; stream = fopen("fprintf.dat","w+"); fprintf(stderr, "integer is %d", i); fprintf(stdout, "character is % c\n",c); fclose(stream); } 반응형