王老师:19139051760(拨打)复制微信 题目 更新时间:2023/4/3 下面有一处错误,请给出修改意见。#include class test{ private:int x; public:test(int a){x=a;} void set(int a){x=a;} void get(){cout<<><>< strong="">} main(){ const test a(3);a.set(5);a.get(); } 答案 登录 注册 缺少分号; 出自:联大 >> 安阳师范学院-计算机应用技术-C++程序设计 安阳师范学院继续教育学院