how to declare variable before you know what data type it is?
<p>I'm new to c++ coming from a python background.</p>

<p>If I want input from a user and then I want to check what data type the input is (e.g. integer or float), how is it possible for me to declare the variable that I want to assign the user's input to?</p>
