일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 모니터 개봉기
- MSA14
- change speaker headset
- CFG70
- headset switch
- 인풋렉 측정
- 헤드폰 스피커 자동 전환
- 모니터 암
- 매크로
- nircmd
- 삼성 게이밍 모니터
- switch speaker headset
- AHK
- XL2430T
- 유틸리티
- 게이밍 모니터
- 모니터 비교
- overwatch
- Lingoes
- 오버워치
- 사전
- Today
- Total
목록2011/07 (3)
깐우의 세상 만들기
파일을 읽어서 다른 이름으로 복사해 그것을 out이라는 폴더를 생성하여 저장 다 짜고 알고보니 rename라는 함수가 있더라...ㅡ,ㅡ #include void FilenameChange::ReadFile(int filenumber) { ifstream fin; ofstream fout; char *buffer; char filename[255]; char out_filename[255]; sprintf_s(filename,"%d",filenumber); //소스 파일 연다 fin.open(filename,ios::in | ios::binary); int size=0; if(fin.is_open()==true) { //소스파일 크기 확인 fin.seekg(0,ios::end); size=fin.tellg..
ofstream fout; char filename[255]; fout.open("Average_Normal_PSNR.txt",ios_base::app); fout
파일 출력할때의 한 방법 tst_0.txt라는 파일이 이미 있으면 그다음에는 tst_1.txt라는 파일을 생성하는 방법 귀찮으니 설명은 소스로 대체 void AnalyzePSNR::RetrieveProcessedFiles() { ifstream fin; ofstream fout; char filename[255]; bool OpenFileSuccess=false; int i=0; while(OpenFileSuccess==false) { sprintf_s(filename,"Final_Total_Normal_PSNR_%d.txt",i); fin.open(filename); if(!(fin.is_open())) { OpenFileSuccess = true; } else { i++; } fin.close(); ..