
Incomplete type is not allowed
#include "stdafx.h"#include <iostream>#include <conio.h>#include <ctype.h>#include <sstream>using namespace std;int main(){ std::tuple<int,bool,float> human = {345,true,2.33}; // Incomplete type is not allowed system("pause"); return 0;} 任何线索?
解决方法 你需要#include< tuple>能够使用它. 总结以上是内存溢出为你收集整理的c – 不允许不完整类型错误和元组全部内容,希望文章能够帮你解决c – 不允许不完整类型错误和元组所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)