||
// 定义 MyMatrix 结构体类型
typedef struct MyMatrixType {
// define member functions and variables
} MyMatrix;
// 定义 HisMatrix 结构体类型
struct HisMatrix {
// define member functions and variables
};
// 定义 YourMatrix 类类型
class YourMatrix {
// define member functions and variables
};
//其他文件中的前向声明,注意结构体和类的区别
typedef struct MyMatrixType MyMatrix;
struct HisMatrix;
class YourMatrix;
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-25 21:00
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社