컴퓨터 언어69 [c언어] fprintf(stderr, "error!"); 에 대하여. printf() 함수는 모니터 즉 콘솔창에 값이 출력된다. 그렇다면, fprintf() 함수는 언제 쓸까? 1. 파일에 작성. fprintf()는 File print의 약자 이다. printf의 사용에 file의 개념만 추가된 것이다. 파일을 열어 그곳에 값을 출력할 수 있다. 예를 들어, #include void main(void) { FILE *fp; fp = fopen("tmp.txt","w"); fprintf(fp, "테스트\n"); fclose(fp); } 이런 식으로 사용할 수 있다. tmp.txt.파일을 생성 후 테스트라는 글자를 넣고 종료시킴. 2. fprintf(stderr, "Error!!!!"); fprintf(stderr, "Error!!!!"); stderr, stdin, stdo.. 2020. 4. 2. Latex 수식 정리 https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Formatting_using_TeX Help:Displaying a formula - Wikipedia From Wikipedia, the free encyclopedia Jump to navigation Jump to search MediaWiki renders mathematical equations using a combination of html markup and a variant of LaTeX. The version of LaTeX used is a subset of AMS-LaTeX markup, a superset of LaTeX marku en.wikipedia.org 2020. 3. 28. 이전 1 ··· 24 25 26 27 28 29 30 ··· 35 다음