MultiThreading | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

MultiThreading

It is possible to have a multitasking program in c++? If there is a way, please show me how.

16th May 2017, 2:41 AM
Luyanda
Luyanda - avatar
4 Answers
+ 3
Here's an example for you: https://code.sololearn.com/clN62FLG2CY3/#cpp You're not going to be able to run it here on SoloLearn, but if you compile it on your own computer, it will work. SoloLearn's compilation environment doesn't support threading.
16th May 2017, 4:07 AM
Squidy
Squidy - avatar
+ 4
The problem is that I don't know how to make the threads please help out.
16th May 2017, 3:38 AM
Luyanda
Luyanda - avatar
+ 3
Make some threads with codes inside and calling them (If you need to) can make them multitask
16th May 2017, 3:36 AM
Complex
Complex - avatar
+ 3
Threads in C++? I'm sorry but I dont know how to
16th May 2017, 3:39 AM
Complex
Complex - avatar