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 | 31 |
Tags
- find
- Windows
- 네트워크
- import
- xargs
- Source
- Mac
- 단축키
- GIT
- web.xml
- port
- Windows 10
- lsof
- tomcat
- resource
- Eclipse
- vscode
- Quartz
- ssh
- profile
- grep
- netsh
- plugin
- 줄바꿈 문자
- VirtualBox
- maVen
- IntelliJ
- JavaScript
- context
- bash
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