I'm trying to make my computer play sounds. I know there are old DOS functions called sound(); delay(); nosound(); that don't work on visual c++.
I tried using Beep(). This one doesn't play sounds either. I think the problem is that I just don't have an internal speaker.
Do you hear anything?
Code:#include <windows.h> int main() { Beep(216, 2000); return 0; }