[C언어] IO
[C언어] IO
2011.11.15//**************************************************************************** // IO //**************************************************************************** #include #include void main() { // int i; int a,b,c; char buf[32]; FILE *fp; //fopen : 파일 열기 함수!! /*if((fp = fopen("bit.txt","w"))==NULL) { puts("파일 열기 실패!!"); return; }*/ if((fp = fopen("bit.txt","r"))==NULL) { puts("파일 열기 실패!!"); re..