English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i mean a bit conceptual..........dont say this contains this and this hav this

2006-09-25 04:29:15 · 2 answers · asked by karthik sripal 2 in Computers & Internet Programming & Design

2 answers

First, stdio.h is a header for an ANSI standard library. It is a collection of standard, basic I/O functions for use with the console, disks and into memory. All stdio.h functions deal with high level or stream type I/O. They aren't specific to any particular operating system, but work in all of them equally.

If I understand correctly, your other library is called conio (conio.h). The library that I think you've mentioned in particular is an operating system specific, non-ANSI library of functions. It came with the Borland compilers for DOS / Windows. It deals only with I/O operations to and from console devices in that environment and *WILL NOT* work for other OSes. All the functions are concerned specifically with I/O and formatting for the three specific devices under DOS: stdin, stdout, stderr. No functions for even the serial ports or printer, just the monitor and keyboard, not even a mouse;-)

2006-09-25 05:29:23 · answer #1 · answered by Anonymous · 0 0

"Standard" input/output is more common. Console is private case of input/output files.
Every console program has three "files" (also a part of the standard): stdin, stdout, stderr with file handlers, respectively, 0, 1, 2.

2006-09-25 12:06:54 · answer #2 · answered by alakit013 5 · 0 0

fedest.com, questions and answers