How do you pause or stop playing music in c ++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you pause or stop playing music in c ++?

I made a simple MP3 tucked inside in c ++. when I want to stop in the middle of music, I can't, then the program just stops when the music has finished. how to handle it?

12th Apr 2021, 4:00 AM
Puspa Sari
Puspa Sari - avatar
1 Answer
+ 2
Maybe with a Break and Continue in a While loop: https://www.w3schools.com/cpp/cpp_break.asp
12th Apr 2021, 12:23 PM
R.P.
R.P. - avatar