Basically I need to writed a program that asks for a double and if the user inputs something keep going, but if the user just presses enter then the program should end. The problem is i can't get it to do anything after the person presses inter
eg
double value;
cin >> value;
cin.ignore(1000,'\n');
if(sizeof(value) == 8)
{
}
else
{
cout << "no input" <- this never happens if i input white space
}