So I am facing this error
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;
}
Any clue?
You need to #include <tuple>
to be able to use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With