摘要: 一、函数指针 先看一个例子: #include<stdio.h> #include<stdlib.h> #include<string.h> #define ERROR 0 #define OK 1 int add(int a,int b){ return a+b; } int multiply(i 阅读全文
posted @ 2021-11-20 22:47 师大无雨 阅读(795) 评论(0) 推荐(1)
摘要: #include <iostream>#include "stdio.h"#include "stdlib.h"#include "cstdlib"//syste()函数需要该头文件; using namespace std; #define OK 1#define ERROR 0#define O 阅读全文
posted @ 2021-11-20 21:22 师大无雨 阅读(3778) 评论(0) 推荐(0)