473,402 Members | 2,064 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

I/o without using the C+ liraries

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 ne**********@gmail.com

Sep 7 '07 #1
4 1143
I think you can using assembly .(the interrupt of dos or bios)

Sep 7 '07 #2
neelu wrote:
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.
Sep 7 '07 #3
neelu wrote:
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.

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Sep 10 '07 #4
neelu schrieb:
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 ne**********@gmail.com
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

Sep 21 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: reddy | last post by:
I am trying to insert a node into an XMLFile. using XMLTextwriter. My Question is Is it possible to do without using XMLDocument. Because its loading all the the file into memory. I just want to...
9
by: WalterR | last post by:
This is my first time here, so there may be earlier relevant threads of which I am unaware. Though my experience with DB2 is not extensive, such as it is was under OS/390 or equ. My main...
33
by: ankursinha | last post by:
Hi, Is it possible to write a C program that prints "Hello World" on screen without having a single semi-colon in the entire program? The extra constraint here is that u r not allowed to use...
5
by: kuvpatel | last post by:
Hi I want to refer a class called LogEvent, and use one of its methods called WriteMessage without actually having to create an instance of Logevent. I have tried using the word sealed with...
7
by: mg | last post by:
I need to first open WebForm2 from WebForm1 and then close WebForm1 without the end user having to press an OK button before the close can occur. For example, possibly ...
5
by: cyberstrike | last post by:
Hi guys, my company was wondering if it's possible to develop ASP.NET/Webservices easily using a IIS installed on a server instead of installing IIS locally on the development boxes. Can you...
11
by: ulyses | last post by:
Let's assume I have following file: 2938929384902491233..... 923949919199191919112.... File contains INTs only. What is more they are huge. For example first row in file may contain integer...
10
by: Evie | last post by:
I understand that when a switch statement is used without breaks, the code continues executing even after a matching case is found. Why, though, are subsequent cases not evaluated? I wrote a...
1
by: craigkenisston | last post by:
I can't believe what is happening on my computer right now. I have a web project, file-system based on something like c:\Projects\ProjectX\www\. I had to make some changes and testing in a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.