摘要:
来源:https://cs.nyu.edu/courses/spring12/CSCI-GA.3033-014/Assignment1/function_pointers.html Function Pointers in C Just as a variable can be declared t 阅读全文
摘要:
1.不适用typedef: 2.使用typedef: 阅读全文
摘要:
1.写: /*C++写文件和读文件*/ #include <stdio.h> #include <stdlib.h> int main() { FILE * fp; fp = fopen("test_file.txt", "w+"); fprintf(fp, "%d %s %s %s %s %s % 阅读全文
摘要:
/* fopen example */ #include #include using namespace std; int main() { FILE* fp; fp = fopen("C:/Users/Qin/Desktop/123.txt", "rb"); if ((fp == NULL)) { printf("\nerror on ... 阅读全文