i hv no idea bout how to do it in C/C++ itself. but one way is to write code for various types of I/O in assembly language and den incorporate dem as library functions in ur C++ code. the object code(developed by u in assembly lang) will be linked at run time. there are tools to do this. --- On Fri, 10/3/08, Ashish Kumar <ashish.k03@xxxxxxxxx> wrote: From: Ashish Kumar <ashish.k03@xxxxxxxxx> Subject: [saint] Re: help C++ input/output To: saint@xxxxxxxxxxxxx Date: Friday, October 3, 2008, 2:04 PM On Fri, Oct 3, 2008 at 10:25 AM, om prakash bhagat <opbhagat@xxxxxxxxx> wrote: On 10/3/08, Ashish Kumar <ashish.k03@xxxxxxxxx> wrote: hey i needed help regarding C++. I have a query regarding the functioning of input/output functions in c and c++ (like printf, scanf, cin, cout). I know how to use them but i am intrested to knw how do they wrk actually, more of a low level. >> do u want to look at the code of the above functions or objects or want >> something else? >>>>yes I want the code and also its functioning...like how it deals with >>>>standard output devices and one more thing that I wanted to know how I can create my own console for input or output in c and c++. >> are you asking for how to create your own input and output "streams" (c++) >> or functions (c).? >>>> exactly. i want to create my own console and get input output!! -- OM PRAKASH MCA(SE) USIT,GGSIPU -- Ashish