#include<iostream>
#include<windows.h>
using namespace std;
enum fy{
d1=262,
d1_=277,
d2=294,
d2_=311,
d3=330,
d4=349,
d5=392,
d5_=415,
d6=440,
d6_=466,
d7=494,
z1=523,
z1_=554,
z2=578,
z2_=622,
z3=659,
z4=698,
z4_=740,
z5=784,
z5_=831,
z6=880,
z6_932,
z7=988,
g1=1046,
g1_=1109,
g2=1175,
g2_=1245,
g3=1318,
g4=1397,
g4_=1480,
g5=1568,
g5_=1661,
g6=1760,
g6_=1865,
g7=1976,
tz=0
};
struct yf
{
enum fy s;
int t;
};
int main()
{
int n=0;;
struct yf a[1000]={
{z3,250},{z3,250},{z4,250},{z5,250}, //4
{z5,250},{z4,250},{z3,250},{z2,250}, //8
{z1,250},{z1,250},{z2,250},{z3,250}, //12
{z3,375},{z2,250},{z2,375}, //15
{z3,250},{z3,250},{z4,250},{z5,250}, //19
{z5,250},{z4,250},{z3,250},{z2,250}, //23
{z1,250},{z1,250},{z2,250},{z3,250}, //27
{z2,375},{z1,250},{z1,375}, //30
{z2,250},{z2,250},{z3,250},{z1,250}, //34
{z2,250},{z3,250},{z4,250},{z3,250},{z1,250}, //39
{z2,250},{z3,250},{z4,250},{z3,250},{z1,250}, //44
{z1,250},{z2,250},{z5,375}, //47
{z3,250},{z3,250},{z4,250},{z5,250}, //50
{z5,250},{z4,250},{z3,250},{z2,250}, //54
{z1,250},{z1,250},{z2,250},{z3,250}, //57
{z2,375},{z1,250},{z1,375}, //60
};
struct yf *atop;
LoadLibrary("kernel");
atop=a;
n=61;
while(n--)
{
Beep(atop->s,atop->t*2);
atop++;
}
return 0;
}
#include<windows.h>
using namespace std;
enum fy{
d1=262,
d1_=277,
d2=294,
d2_=311,
d3=330,
d4=349,
d5=392,
d5_=415,
d6=440,
d6_=466,
d7=494,
z1=523,
z1_=554,
z2=578,
z2_=622,
z3=659,
z4=698,
z4_=740,
z5=784,
z5_=831,
z6=880,
z6_932,
z7=988,
g1=1046,
g1_=1109,
g2=1175,
g2_=1245,
g3=1318,
g4=1397,
g4_=1480,
g5=1568,
g5_=1661,
g6=1760,
g6_=1865,
g7=1976,
tz=0
};
struct yf
{
enum fy s;
int t;
};
int main()
{
int n=0;;
struct yf a[1000]={
{z3,250},{z3,250},{z4,250},{z5,250}, //4
{z5,250},{z4,250},{z3,250},{z2,250}, //8
{z1,250},{z1,250},{z2,250},{z3,250}, //12
{z3,375},{z2,250},{z2,375}, //15
{z3,250},{z3,250},{z4,250},{z5,250}, //19
{z5,250},{z4,250},{z3,250},{z2,250}, //23
{z1,250},{z1,250},{z2,250},{z3,250}, //27
{z2,375},{z1,250},{z1,375}, //30
{z2,250},{z2,250},{z3,250},{z1,250}, //34
{z2,250},{z3,250},{z4,250},{z3,250},{z1,250}, //39
{z2,250},{z3,250},{z4,250},{z3,250},{z1,250}, //44
{z1,250},{z2,250},{z5,375}, //47
{z3,250},{z3,250},{z4,250},{z5,250}, //50
{z5,250},{z4,250},{z3,250},{z2,250}, //54
{z1,250},{z1,250},{z2,250},{z3,250}, //57
{z2,375},{z1,250},{z1,375}, //60
};
struct yf *atop;
LoadLibrary("kernel");
atop=a;
n=61;
while(n--)
{
Beep(atop->s,atop->t*2);
atop++;
}
return 0;
}