데블스캠프 첫째날 == 두번째로 만든프로그램 == {{{~cpp #include using namespace std; const int Arsize=10000; int main() { ifstream fin("UnsortedData.txt"); //txt파일에 저장된 것을 부름 ofstream fout("output.txt"); // txt에 출력값을 저장한다. int sort[Arsize]; for(int i=0;i> sort[i];//배열로 선언 for(int k=0; k sort[j])//크기비교 { temp=sort[k]; sort[k]=sort[j]; sort[j]=temp; } } } for(int d=0; d