Search
 
SCRIPT & CODE EXAMPLE
 

CPP

how to play sounds in c++

PlaySound(TEXT("sound.wav"), NULL, SND_FILENAME);
Comment

how to make sound in c++

//Function Beep, part of windows.h library, first parameter is frequency
//in hertz, second parameter is time in miliseconds
#include<iostream>
#include<windows.h>
using namespace std;

int main()
{
  Beep(200,300);
}

Comment

PREVIOUS NEXT
Code Example
Cpp :: Arduino Counting 
Cpp :: uses of c++ 
Cpp :: imgui menu bar 
Cpp :: insert into a vector more than once c++ 
Cpp :: vector erase iterator 
Cpp :: c++ error 0xC0000005 
Cpp :: #include using namespace std; int main() { double leashamt,collaramt,foodamt,totamt; cout<<"Enter the amount spent for a leash : "; 
Cpp :: how to implement binders and decorators on c++ lik python? 
C :: hello word c 
C :: powershell search files for string 
C :: random number between 2 in C 
C :: c remove last character from a string 
C :: c get time 
C :: random number in c 
C :: roshan kumar 
C :: add border to image android 
C :: take array as input in c 
C :: operators priority in c 
C :: how to mutex lock in c 
C :: c number to string 
C :: how to print value of pointer in c 
C :: c programing strtok use 
C :: CL/cl.h: No such file or directory 
C :: int_min in c 
C :: addition.c 
C :: remove string from string c 
C :: signal function c 
C :: how to call function after some time in vue.js 
C :: second largest element in an array 
C :: c print 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =