c++中想将某个结构体参数设置为缺省参数

2025-04-07 05:48:23
推荐回答(1个)
回答1:

在CPP中定义全局变量
const Struct A;
然后在h中
extern Struct A;
希望能帮助你,满意请采纳,谢谢