Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:63:12: error: 'Vector3* Vector3Array::a' is private within this context cin >> a.a[i]; ^ /in/foo.cc:31:11: note: declared private here Vector3* a; ^ /in/foo.cc:66:5: error: 'Vector3* Vector3Array::a' is private within this context a.a[i].Output(); ^ /in/foo.cc:31:11: note: declared private here Vector3* a; ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1018 OO4-2 向量的比较、赋值及向量集合类的排序
- 语言
- C++
- 递交时间
- 2024-04-04 22:42:25
- 评测时间
- 2024-04-04 22:42:25
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes