In DOS, I want to allow someone to be able to enter input while seeing output at the same time, is this possible, I heard this is what we call "multi-tasking". Please help.
Here's an instance of what i mean:
#include <iostream.h>
int main ()
{
char input;
while (1)
{
cout << "Output!\n"; // output
}
while (1)
{
cin >> input; // input
}
return 0;
}
See, I want to be able to do two things at once, can someon help please?