摘要:
#include<stdio.h> void main(){ //打开文件 FILE *fp; fp = fopen("test.txt", "r+"); if(fp == NULL){ printf("File open fail!\n"); } //写入数据 char wbuf[10] = "5 阅读全文
posted @ 2016-02-27 15:32
盛夏夜
阅读(194)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> void main(){ //打开文件 int fd; fd = open("./test.c 阅读全文
posted @ 2016-02-27 10:54
盛夏夜
阅读(373)
评论(0)
推荐(0)

浙公网安备 33010602011771号