eclipse - beep() function in C++ "was not declared in scope" -
i'm trying use c++ beep()
function of windows.h in cdt. doesn't compile , throws error:
'beep' not declared in scope
function 'beep' not resolved here code:
/* * blahblah.cpp * * created on: jan 28, 2016 * */ #include <iostream> #include <windows.h> using namespace std; int main(){ beep(523, 500); //cin.get(); return 0; }
i'm using mingw on 64 bit win7 machine
thanks
the beep
function begins capital b
. c++ case-sensitive language.
Comments
Post a Comment