Computing.Net > Forums > Linux > Library dos.h

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Library dos.h

Reply to Message Icon

Name: Paja
Date: December 5, 2001 at 03:07:44 Pacific
Comment:

Please i need c or c++ library dos.h for linux where can i find him.



Sponsored Link
Ads by Google

Response Number 1
Name: Mik
Date: December 5, 2001 at 03:26:53 Pacific
Reply:

dos.h contains specific things used for dos so I doubt there is a linux version of it. Which part of dos.h are you using in your program? I'm sure there is a linux equivalent for it.

Mik


0

Response Number 2
Name: umvi
Date: February 9, 2002 at 00:03:03 Pacific
Reply:

how to introduce time delay in LINUX (similar to delay in dos.h)


0

Response Number 3
Name: Prof. Chris Curtis
Date: March 4, 2002 at 15:31:38 Pacific
Reply:

#include
#include

void delay( int dt );

void main()
{
printf("Start 2 second timer...\n");
delay( 2000 );
printf("End timer.\n");
return;
{

void delay( int dt )
{
struct timeb t_start, t_current;
int t_diff;
ftime(&t_start);
do
{
ftime(&t_current);
t_diff = (int) (1000.0 * (t_current.time - t_start.time)
+ (t_current.millitm - t_start.millitm));
}
while(t_diff < dt);

return;
}


0

Response Number 4
Name: Chris Curtis
Date: March 4, 2002 at 15:33:37 Pacific
Reply:

includes: "stdio.h" and "sys\timeb.h"
(brackets got interpreted)


0

Response Number 5
Name: Vikas Goel
Date: March 19, 2002 at 18:58:37 Pacific
Reply:

what all functions are present in DOS.h because i need many of this library functions to make my own paintbrush software ......... hence can u give me a source where i can find a tutorial on it

vikas
student
(CSc)


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Library dos.h

dos.h for linux www.computing.net/answers/linux/dosh-for-linux/2542.html

Linux port of dos.h www.computing.net/answers/linux/linux-port-of-dosh/2529.html

Installing NVIDIA Driver On Ubuntu www.computing.net/answers/linux/installing-nvidia-driver-on-ubuntu/29079.html