
- Forum
- Programming Talk
- C and C++
- Confused with the term Kindly Clarify
Confused with the term Kindly Clarify
This is a discussion on Confused with the term Kindly Clarify within the C and C++ forums, part of the Programming Talk category; Hi All, I recently came across a term called as console I/O Functions. I could not get details about this ...
-
Confused with the term Kindly Clarify
Hi All,
I recently came across a term called as console I/O Functions. I could not get details about this term. Is this something to do with display functions? I could not understand what the term means. Someone clarify me what the term represents and also what functions are included in this term?
Regards,
Allan
-
There are two types of I/O in C. They are:
Console I/O and
File I/O
The standard C console I/O functions perform only TTY-based output; however, most compilers include in their libraries machine-specific screen control and graphics functions.
-
Some of the formatted Console I/O functions used by C programming language are printf() and scanf() .The functions printf() and scanf() read and write data in various formats specified by the programmer. Both functions can operate on any of the built-in data types, including characters, strings and numbers.
-
The term Console I/O in the context of programming language C++ holds as below. C++ defines its own object oriented I/O system. C++ I/O operates through streams. C++ I/O allows the format of I/O operations. Special functions called manipulators also allow the format of I/O operations. The << and >> operators are overloaded in C++ to perform I/O operations on built in types and on user created types. It is possible to overload the C++ manipulator functions.
-
Sponsored Ads

Reply With Quote





