468,512 Members | 1,506 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

delay function in C program

I know the delay( ) function of Turbo C and used it in my project. By this function we can give intermediate delay in execution from 1 millisecond to 9999 millisecond.

My main question is "Is it possible to get delay less than 1 millisecond in Turbo C"? If by changin any header file (e.g. dos.h) or by creating my own "delay" function, at any way Can I get delay less than 1 millisecond?

If in C it is not possible than please suggest me any other language in which I can give delay between two commands.

Thanking you in anticipation of a positive response.....
Maulik Shah
Dec 5 '07 #1
1 6492
I know the delay( ) function of Turbo C and used it in my project. By this function we can give intermediate delay in execution from 1 millisecond to 9999 millisecond.

My main question is "Is it possible to get delay less than 1 millisecond in Turbo C"? If by changin any header file (e.g. dos.h) or by creating my own "delay" function, at any way Can I get delay less than 1 millisecond?

If in C it is not possible than please suggest me any other language in which I can give delay between two commands.

Thanking you in anticipation of a positive response.....
Maulik Shah
In the graphical programming language LabVIEW you can do calculations in which each command can be delayed by an arbitrary time step. The only problem is that LabVIEW is not free, it's very clunky, it's got a steep learning curve, it's very inefficient but on a fast computer this doesn't matter. If you can get your hands on it it will do the job. goto (ha ha get it)
http://www.ni.com/labview/
Dec 5 '07 #2

Post your reply

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

Similar topics

4 posts views Thread by Shuo Xiang | last post: by
8 posts views Thread by John | last post: by
6 posts views Thread by lucifer | last post: by
2 posts views Thread by newbie | last post: by
reply views Thread by Jonathan Mark | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.