【发布时间】:2019-04-22 20:06:46
【问题描述】:
#include <iostream>
using namespace std;
int main()
{
struct calcvaribles;
{
int a;
int b;
int sum;
};
struct introstructions;
{
char ab[35];
string ac;
};
introstructions outline;
outline.ab = "welcome to my calculator program!";
outline.ac = "please enter any [One] number in the
terminal";
return 0;
}
错误信息:
聚合 main()::introstructions 大纲类型不完整,无法定义
介绍大纲。
【问题讨论】:
-
我认为你的意思是 C++ 的标签,而不是 CSS
-
你在'struct introstructions;'之后尾随分号错了
-
好吧,我想我应该更加注意自己的笔记,哈哈。
标签: c++