cout implementation



 DEVELOP > c-Plus-Plus > cout implementation

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: ""
Date: 11 Dec 2004 12:17:21 PM
Object: cout implementation
hi all,
Is it true that the cout function used in C++ for printing data
to the console is implemented via the "write" system call?
If not then how the cout function is implemented?
Thanks,
Candice
.

User: "Rolf Magnus"

Title: Re: cout implementation 12 Dec 2004 05:32:58 AM
wrote:

Is it true that the cout function used in C++ for printing data
to the console is implemented via the "write" system call?

Maybe, or maybe not. That depens on the compiler/OS/library/...
Some OSs don't even have a "write" system call.

If not then how the cout function is implemented?

The C++ standard doesn't define that. It's up to the implemenation to decide
where the output of cout goes.
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER