Making An Executable

This is a discussion on Making An Executable within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I didn't know which board to ask this question on. I am very new and have only had a basic ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    > 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, 06:05 AM
  3. CreateProcess with Resource of executable, not the Filename
    By Ktulu in forum Windows Programming
    Replies: 4
    Last Post: 11-04-2006, 12:07 AM
  4. calling an executable from an executable
    By dee in forum C Programming
    Replies: 4
    Last Post: 01-10-2004, 12:32 PM
  5. Altering The Program's Executable?
    By Aidman in forum C++ Programming
    Replies: 7
    Last Post: 12-31-2002, 04:11 AM

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