Thread: Print delay

  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
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    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, 07: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, 11:35 AM
  5. How to print out the data throw printer.Attn Salem
    By Jason in forum C Programming
    Replies: 2
    Last Post: 09-23-2001, 05:58 AM