I'm a student but I'm not asking anyone to do my work for me, however I would like a little help if possible please.
For part of my assignment I have to create a program that will issue a bepp of the value ( frequency and duration ) that the end user enters.
My biggest problem is my OS (Vista 64 ultimate) does not beep so I cant tell if it is woeking until I go to my lab session.
This is what I started
#include <iostream> //Input Output header for cout
#include <windows.h> //Windows header for beep
#define BYTE 8 //Constant for 8-bits in a byte
#define KByte 1024 //Constant for Kbyte
#define beep 440-659
using namespace std; //Use standard Library
int main () //Main program begins here
{
int frequency, time;
cout<<"Please enter the frequency value between 440 to 659\n"
Is this looking right or not please?