[ CnUnix ] in KIDS 글 쓴 이(By): ksangeun (우주인) 날 짜 (Date): 2004년 3월 13일 토요일 오전 11시 30분 56초 제 목(Title): Re: [Q]파일 처리.. MSDN에서도 w+일때 truncated된다고 되어 있습니다. ---------------------- "w+" Opens an empty file for both reading and writing. If the given file exists, its contents are destroyed. w+ _O_RDWR (usually _O_RDWR | _O_CREAT | _O_TRUNC) ======================================================================= main(){int a=107,j=2;while(a>-5000){a=a>0?a:99;putchar(a); a=j==49?46:a-j;j*=j;j=j%256?j:7;j*=j%16?1:-1;};printf("%cm\n",111);}; ======================================================================= |