Thread: Making An Executable

  1. #1
    Unregistered
    Guest

    Making An Executable

    I didn't know which board to ask this question on. I am very new and have only had a basic computer class and just trying to learn my first language. When you make an executable, is it going to operate at the same speed on your machine as someone else's? If not, then how do you judge how long to make your pauses in your program if someone else is going to use it also? thnks

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    > is it going to operate at the same speed on your machine as someone else's?
    Not unless it's the same processor and processor speed as yours

    > then how do you judge how long to make your pauses in your program
    Things like

    sleep( 1 );

    are more or less independent of processor speed.

    But functions like sleep() are implementation specific, it may be called something else (say Sleep() or delay() ) in your compiler

  3. #3
    Unregistered
    Guest
    thank you so much

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 04-10-2009, 12:57 AM
  2. Loading a DLL that is not in the same directory as the executable
    By starcatcher in forum Windows Programming
    Replies: 10
    Last Post: 12-13-2008, 07:05 AM
  3. CreateProcess with Resource of executable, not the Filename
    By Ktulu in forum Windows Programming
    Replies: 4
    Last Post: 11-04-2006, 01:07 AM
  4. calling an executable from an executable
    By dee in forum C Programming
    Replies: 4
    Last Post: 01-10-2004, 01:32 PM
  5. Altering The Program's Executable?
    By Aidman in forum C++ Programming
    Replies: 7
    Last Post: 12-31-2002, 05:11 AM