Quantcast
Channel: A闪网 - C&C++
Browsing all 2 articles
Browse latest View live

新版块上线

作为一个C的新手,这个板块将记录我学习C的全部过程,希望对于大家和自己都是一个有帮助的资料。 不定期更新!

View Article



C中最简单的读取一个文本文件

引用标准库中的stdio.h其中包含了磁盘流操作的相关函数,代码如下:#include <stdio.h> int main(int argc, const char * argv[]) { FILE *fp; char ch; if((fp=fopen("/Volumes/Macintosh HD 2...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images