Thread: 2 functions at once

  1. #1
    Registered User
    Join Date
    Jan 2002

    2 functions at once

    Is it possible to execute 2 functions at once?
    If so how or what do I search for?

  2. #2
    Open to suggestions Brighteyes's Avatar
    Join Date
    Mar 2003
    It's possible, but only if you fork another process or use multiple threads.
    p.s. What the alphabet would look like without q and r.

  3. #3
    Funniest man in this seat minesweeper's Avatar
    Join Date
    Mar 2002
    Well you can run multiple threads of execution if that's what you mean. Do a search on MSDN for threads or maybe _beginthread(). However you must realise that what this does in reality is cause windows to chop and change between the two threads, it's not technically doing two things at the same time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Void Functions Help
    By bethanne41 in forum C++ Programming
    Replies: 1
    Last Post: 05-09-2005, 05:30 PM
  2. Functions and Classes - What did I do wrong?
    By redmage in forum C++ Programming
    Replies: 5
    Last Post: 04-11-2005, 11:50 AM
  3. calling functions within functions
    By edd1986 in forum C Programming
    Replies: 3
    Last Post: 03-29-2005, 03:35 AM
  4. Factory Functions HOWTO
    By GuardianDevil in forum Windows Programming
    Replies: 1
    Last Post: 05-01-2004, 01:41 PM
  5. Shell functions on Win XP
    By geek@02 in forum Windows Programming
    Replies: 6
    Last Post: 04-19-2004, 05:39 AM