Thread: multitask

  1. #1
    Registered User madsmile's Avatar
    Join Date
    Feb 2002
    Posts
    26

    multitask

    can i make a c++ program under DOS that runs multitasking??? i want to do that for buttons and some other thigs... i can do buttons, but i have to check every time all the buttons (a small graphic actualy)... and if i have 50 buttons i have to check 50 contitions... is there a way to make multitasking???
    MADSmile
    ICQ #3653692
    (i'm running Borlad C++ Ver 3.1 under MSDOS)

  2. #2
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Hmm I cant give you a definite yes because 1) ive never tried, and 2) i never really programmed dos much, just unix, then Win32 and a little dos stuff to play with. But id say that if your using G++ to see if you have the pthread.h and pthread.lib, it is the posix (unix) pthread library that is ported for Win32 and i believe it will work in a dos(console) application. If you dont have it I believe you can go here and download it: http://sources.redhat.com/pthreads-win32/ hope that helps you.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Multitask
    By vnrabbit in forum C Programming
    Replies: 4
    Last Post: 12-13-2002, 04:04 PM
  2. Multitask
    By IcyDeath in forum C Programming
    Replies: 7
    Last Post: 10-10-2001, 04:41 AM