Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- xargs
- web.xml
- Eclipse
- import
- 네트워크
- maVen
- VirtualBox
- 공통표준용어
- Mac
- netsh
- profile
- resource
- ssh
- context
- JavaScript
- copy-dependencies
- GIT
- port
- lsof
- DB 도메인
- IntelliJ
- find
- Quartz
- tomcat
- Source
- 단축키
- Windows
- Windows 10
- bash
- grep
Archives
- Today
- Total
develog
c file write 본문
#include <stdafx.h>
int main()
{
FILE *fl;
char s[6] = "korea";
if ((fl = fopen("test.txt", "w")) != NULL) {
for (int i = 0; i < 5; i++) {
fputc(s[i], fl);
}
}
return 0;
}
'OS & Shell > Windows' 카테고리의 다른 글
[cmd] 날짜, 시간으로 폴더 생성 (0) | 2014.12.03 |
---|---|
[cmd] 날짜, 시간 출력 %date% %time% (0) | 2014.12.03 |
현재 시간 (0) | 2013.11.28 |
[Windows cmd] tasklist, taskkill (0) | 2013.09.05 |
windows 예약된 작업 command line 실행 (0) | 2013.06.18 |
Comments