473,412 Members | 1,873 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,412 software developers and data experts.

What is the replacement for "dos.h" in Unix?

instedof #include"dos.h" which header file is used in unix?
Nov 13 '08 #1
3 8255
Nepomuk
3,112 Expert 2GB
Hi there!
You posted this question as a reply to something totally unrelated, so I split it into it's own thread. Please read our Posting Guidelines and keep to them in future (including opening a own thread, when asking a new and unrelated question). That also makes the chances bigger, that you'll get the right answer.

By the way, I'd say this is more of a C/C++ Question than a Linux/Unix question, so I'm moving this to the C/C++ Forum.

Greetings,
Nepomuk (Moderator)
Nov 13 '08 #2
donbock
2,426 Expert 2GB
Why don't you omit dos.h and see what errors are provoked. Then you need to find out which headers in linux will resolve those errors.

Are you porting a program from dos to linux?
Nov 13 '08 #3
JosAH
11,448 Expert 8TB
instedof #include"dos.h" which header file is used in unix?
It is not 'unix.h' and porting sources from one platform to another is not a one-to-one
substitution task. More so when the code has been written especially for one small
platform such as an MS Windows PC. It is nearly impossible to rewrite the code
to any other decent platform. I'd say: forget about it and find something decent
to do.

kind regards,

Jos
Nov 13 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Ken Varn | last post by:
Sometimes when I try to close my managed C++ application, the following dialog displays in Win 2000 Pro: The title of the dialog is "Server Busy". The message is "This action cannot be completed...
5
by: Jarek | last post by:
Hi all! I'm optimizing my C++ multi-threaded application (linux). My application consumes huge amout of memory from unknown reason. There are no memory leaks, or other allocation bugs,...
1
by: blue | last post by:
Looking at code from the following: http://www.gamedev.net/reference/programming/features/enginuity2/page3.asp I'm confused though... CMMPointer(T *o) { obj=0; *this=0;
5
by: junky_fellow | last post by:
Each time i submit some pattern to "google", it shows search took 0.XX seconds for exploring millions of web pages. When i look for efficient ways of searching a string, they always say compare...
1
by: M D | last post by:
If you want more details you will have to reference the VS.Net example ConsoleChat for Networking How-to: -- http://go.microsoft.com/fwlink/?linkid=3480&path=/quickstart/howto/sampl...
2
by: Lasse Edsvik | last post by:
Hello I was wondering if you guys could tell me if: cmd.ExecuteReader(CommandBehavior.CloseConnection); returns a dataset, datatable or what?
9
by: Dullme | last post by:
i can hardly know what is the code for this. I have researched palindromes, but unfortunately, I only have read about integers not for characters..I need some help..
2
by: clintonG | last post by:
Does the documented property value UNIX mean the Request.Browser.Platform property determines requests are being made from a Linux machine? <%= Clinton Gallagher NET csgallagher AT...
4
by: Teenzonez | last post by:
Hi Whats the things we do with unix?i wanna use unix the same way i use windows now..but im using even windows as a desktop OS..nothing much..im not sitting in a server room and controlling...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.