Print delay

This is a discussion on Print delay within the C Programming forums, part of the General Programming Boards category; I was wondering how you can use a time function to delay say a printing of a text with a ...

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    23

    Print delay

    I was wondering how you can use a time function to delay say a printing of a text with a few seconds?

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Although you could probably hack your own using the functions in time.h and a loop, there are better functions for this that, unfortunately, are OS-dependant. Assuming you're using windows, there's this: Sleep Function (Windows). Similar functions will be found in *nix operating systems.

  3. #3
    Registered User
    Join Date
    Feb 2009
    Posts
    23
    Thank you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Print backwards? Can someone please help me?
    By matthayzon89 in forum C Programming
    Replies: 11
    Last Post: 04-23-2010, 08:30 AM
  2. Replies: 10
    Last Post: 02-19-2010, 07:50 PM
  3. Please help me as fast as possible
    By Xbox999 in forum C Programming
    Replies: 5
    Last Post: 11-30-2009, 06:53 PM
  4. Replies: 1
    Last Post: 07-31-2002, 12:35 PM
  5. How to print out the data throw printer.Attn Salem
    By Jason in forum C Programming
    Replies: 2
    Last Post: 09-23-2001, 06:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21