Branching?

This is a discussion on Branching? within the C Programming forums, part of the General Programming Boards category; Hey how do you branch stuff off? like say you had an update clock function and wanted to do scanf ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220

    Branching?

    Hey how do you branch stuff off?

    like say you had an update clock function and wanted to do scanf at the same time
    Code:
           Start
              /\
             /  \
            /    \
      Scanf   Clock (updated on screen)
            \      if clock = 100, then continue
             \    /
              \  /
              end
    Multithreading, I think it is...

  2. #2
    B26354 Deckard's Avatar
    Join Date
    Jan 2002
    Posts
    633

    Re: Branching?

    Originally posted by Brian
    Multithreading, I think it is...
    Multithreading is correct, Brian. It is platform dependant. On UNIX/Linux systems, this is accomplished using pthreads. On Windows systems, I believe they are called WinThreads (not a windows guy, myself). I thought you would be out of luck trying threads in DOS (as your signature implies), but apparently there are DOS multithreading libraries out there (search Google for "DOS multithreading").
    Jason Deckard

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 25x25 sudoku
    By cyberfish in forum C++ Programming
    Replies: 27
    Last Post: 06-23-2009, 02:20 AM
  2. Using char arrays in branching statements
    By hmanners in forum C Programming
    Replies: 18
    Last Post: 06-08-2009, 05:03 AM
  3. PGO is amazing
    By cyberfish in forum Tech Board
    Replies: 8
    Last Post: 02-13-2009, 12:30 AM
  4. need help
    By xclarkiex5x in forum C++ Programming
    Replies: 17
    Last Post: 09-30-2007, 10:15 AM
  5. Replies: 7
    Last Post: 12-10-2004, 08:18 AM

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