What am I messing up here? I am simply trying to enter a number as a dynamic float. I get the error:
error C2679: binary '>>' : no operator defined which takes a right-hand operand of type 'float *' (or there is no acceptable conversion)
Code:cout << "Enter a number: "; float* entry; entry = new float; cin >> entry; // Compliler does not like the cin cin.ignore(100, '\n'); cout << endl << endl << "Value entered: " << entry << endl << endl;