I/o without using the C+ liraries

N

neelu

Hello All,

Can some one tell me how to perform the basic I/O without using C/C++
library functions.
I will be gratfull to him/her.

My email is (e-mail address removed)
 
G

Gianni Mariani

neelu said:
Hello All,

Can some one tell me how to perform the basic I/O without using C/C++
library functions.
I will be gratfull to him/her.


This is platform specific and so you need to ask the correct news group.

The two leading platforms are *NIX (Solaris, IRIX, Linux) and win32 the
API's are:

open()/read()/write() for *nix

for win32:

CreateFile()/ReadFile()/WriteFile()

The pre-pre alpha austria C++ library has a cross platform way of
dealing with them:

http://netcabletv.org/public_releases/

Including handling asynchronous I/O.
 
K

Kevin Handy

neelu said:
Hello All,

Can some one tell me how to perform the basic I/O without using C/C++
library functions.
I will be gratfull to him/her.

Hoping to full you full of grats.

Whatever you are trying to do, you are probably looking
in the wrong place. It would be very helpful to know why
you need to do such a thing, so that we can point you
in the right direction.

There are many methods to avoid the standard library,
but the right one will be dependent on what you are
really trying to to, and what platform you are trying
to do it on. It could be anything from interfacing to
the OS at a lower level, or even talking to the hardware
itself.

I'd advise including more relevant information, and
posting to a more appropriate newsgroup.
 
M

Matthias

neelu said:
Hello All,

Can some one tell me how to perform the basic I/O without using C/C++
library functions.
I will be gratfull to him/her.

My email is (e-mail address removed)

There was an article about how to compile c++ with libc only (ie no stl)
on pro-linux.de. Maybe you had that in mind? Apparently it was on
german², but teh three or four compiler flags may be extracted from the
text easily even by non-germans.

matthias

²http://www.pro-linux.de/t_system/c++-libc.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,048
Members
47,649
Latest member
MargaretCo

Latest Threads

Top