0

how to add backsound in c ++? backsound that doesn't interfere with the running of the program? how to do it?

I add a song, then it interrupts the program. The next program will only be executed when the song has finished, how to add it in the background.

13th Apr 2021, 7:50 AM
Puspa Sari
Puspa Sari - avatar
3 Respostas
+ 2
In order to run 2 tasks concurrently, just fire another thread tasked to run your background song while your main working thread is doing the task it have to do.
13th Apr 2021, 7:57 AM
Arsenic
Arsenic - avatar
+ 1
Puspa Sari are you sure you using cpp because in tag you mentioned c++ are you using QT or u trying on html 😌🙃
13th Apr 2021, 12:22 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
A.S. in C++.
13th Apr 2021, 9:46 PM
Puspa Sari
Puspa Sari - avatar