perhaps if you explain better what you are trying to do. maybe a small code sample. Why would you need to type check after a cin.
here's what i'm familiar with doing in java:
try
{
fracNum = Integer.parseInt(JOptionPane.showInputDialog( Assign3.this,"Enter Numerator") );
fracDen = Integer.parseInt(JOptionPane.showInputDialog( Assign3.this,"Enter Denominator") );
frac.set( fracNum,fracDen );
myCQ.enqueue(frac);}
catch ( NumberFormatException n ) {JOptionPane.showMessageDialog( Assign3.this,("Please enter an integer."));}
what i'm looking for in c++ is to make sure the input from the user is only a number (float specifically).