I graduated from Guamani Private School in Guayama, Puerto Rico in June 2013. I got accepted to the UPRM with a major in Computer Engineering but soon realized that engineering was not for me. After receiving guidance, I decided that Computer Science was right for me. The fact that I love math is the cherry on top. I hope you enjoy this blog and my experiences during the course COMP3010 (Introduction to Computer Programming I).
Monday, March 31, 2014
Class of March 31, 2014
Common reasons for open to fail include: that the file might not exist or that the name that was typed is written incorrectly. To catch errors we use member function fail. Fail will return a bool value and if this value is true, the stream operation failed. The function exit, halts a program which is what is best to do when a stream open function fails.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment