Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cin.exceptions

Status
Not open for further replies.

gusset

Technical User
Joined
Mar 19, 2002
Messages
251
Location
GB
i am learning c++ from a book called SAMS teach yourself c++ in 10 minutes (yeah, right).

i have hit a problem with the example in lesson 6. the short piece of code won't compile. i think that the problem lies with cin.exceptions and cin.failbit. the intellisense drop-down doesn't show these as options. i wonder if my compiler post-dates the one used by the author?

any help appreciated

thanks

gusset
 
what compiler do you use?

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
ms visual c++ 6
 
do you get compille, link or execution time errors?

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top