반응형
#include <stdio.h>
#include <tchar.h>
#include <Windows.h>
int _tmain(int argc, LPTSTR argv[], LPTSTR *env)
{
system("sort < A.txt");
return 0;
}
반응형
'C > Reference' 카테고리의 다른 글
[C] 가변 인자 예제 코드 (0) | 2024.12.16 |
---|---|
[C] A.txt 내용을 정렬하여 B.txt로 출력 (0) | 2024.12.15 |
[C] Thread 사용 예제 (0) | 2024.12.15 |
[C] 파일 속성의 만든 날짜, 수정한 날짜, 액세스한 날짜 얻고 수정하기 (0) | 2024.12.15 |
[C] 특정 경로의 하위 레지스트리를 모두 출력 (0) | 2024.12.15 |