THE USE OF METHODS OF CLASS IOS_BASE FOR CHECK THE STATUS OF THE INPUT STREAM IN C++

Dmitriev Vladislav Leonidovich1, Zaytseva Nina Leonidovna1
1Sterlitamak branch of the Bashkir state University

Abstract
The paper discusses the issues related to the most common mistake at entering data – the enter data that is not specified in the program format. To handle such situations you can use the methods of class ios_base. They allow you to report a state of flux or change it. The discussed capabilities will be useful to novice programmers and students learning programming.

Keywords: input/output streams, the C++programming language, the ios_base class


Category: 05.00.00 Technical sciences

Article reference:
The use of methods of class ios_base for check the status of the input stream in C++ // Modern scientific researches and innovations. 2016. № 12 [Electronic journal]. URL: https://web.snauka.ru/en/issues/2016/12/75931

View this article in Russian

Sorry, this article is only available in Русский.



Artice view count: Please wait

All articles of author «Дмитриев Владислав Леонидович»


© If you have found a violation of copyrights please notify us immediately by e-mail or feedback form.

Contact author (comments/reviews)

Write comment

You must authorise to write a comment.

Если Вы еще не зарегистрированы на сайте, то Вам необходимо зарегистрироваться:
  • Register