If I wana beep in my console program, I just need use "BOOL MessageBeep(UNIT nType)", which is illustrated as follows.
#include <windows.h>
int main()
{
for ( UINT i=0; i<100; i++ )
{
MessageBeep(i);
Sleep(1000);
}
return 0;
}
It shall beep differently in every second.