본문 바로가기

C/Reference

[C] A.txt 내용을 정렬하여 콘솔에 출력

반응형
#include <stdio.h>
#include <tchar.h>
#include <Windows.h>

int _tmain(int argc, LPTSTR argv[], LPTSTR *env)
{
	system("sort < A.txt");
	return 0;
}
반응형