Jump to content

[C++] - Unde dragoste nu e


Not in use
 Share

Recommended Posts

Descriere: Am facut o *aplicatie* in c++ care *canta* refremul melodiei "Unde dragoste nu e".


Poze / Video: http://imgur.com/a/En26u



Link download: https://www.dropbox.com/sh/r39hvu2zy96r9dc/AAAD4tcirZhs3MuGPqAZu-SCa?dl=0


Alte precizari: Multumesc waxios pentru idee, a fost superb. Muzica este facuta din Beep-uri.



#include<iostream>
#include<windows.h>
using namespace std;

int main ()
{
system("color 0a");
int n;
n = 2;
while(n)
{
cout<<"Dar ";
system("color 0b");
Beep(440,300);
cout<<"un";
system("color 0c");
Beep(440,500);
cout<<"de ";
system("color 0d");
Beep(493,200);
cout<<"dra";
system("color 0a");
Beep(523,400);
cout<<"gos";
system("color 0b");
Beep(493,200);
cout<<"te ";
system("color 0c");
Beep(523,400);
cout<<" nu ";
system("color 0d");
Beep(587,200);
cout<<" eeeeeeeeeeee "<<endl;
system("color 0a");
Beep(864,1000);
cout<<"Ni";
system("color 0b");

Beep(784,400);
cout<<"mic";
system("color 0c");

Beep(698,700);
cout<<" nu ";
system("color d");

Beep(659,400);
cout<<"eeee"<<endl;
system("color 0a");

Beep(587,700);
cout<<"Nici";
system("color 0b");

Beep(392,400);
system("color 0c");

cout<<" via";
Beep(440,700);
system("color 0d");

cout<<"ta ";
system("color 0a");

Beep(392,400);
system("color 0c");

cout<<"nu-i, ";
Beep(784,1000);//fa mi re do
system("color 0d");

cout<<"nici ";
Beep(698,400);
system("color 0a");

system("color 0a");

cout<<"soa";
Beep(659,700);
system("color 0b");

cout<<"re ";
Beep(587,400);
system("color 0c");

cout<<"nu-i, "<<endl;
system("color 0d");

Beep(523,900); // mi1 re1 do1 si la do1 si la
cout<<"A";
Beep(659,600);
system("color 0a");
//mi1
cout<<"co";
Beep(587,400);//re1
system("color 0b");

cout<<"lo ";
Beep(523,400);
system("color 0c");
//do1
cout<<"un";
Beep(493,400);//si
system("color 0d");

cout<<"de ";
Beep(440,700);//la
system("color 0a");

cout<<"nu ";
Beep(523,1000);//do1
system("color 0b");

cout<<"esti ";

Beep(493,1000);//si
system("color 0c");

cout<<"tu!!!!!!";
Beep(440,1000);//la
system("color 0d");



n = n -1;
system("cls");
}
cout<<endl;
system("color 4b");
cout<<"Iar";

Beep(659,600); //mi1
system("color 4c");
cout<<" eu ";
Beep(587,400);//re1
system("color c4");
cout<<"ma ";
Beep(523,400); //do1
system("color c9");
cout<<"simt ";
Beep(493,400);//si
system("color 0c");
cout<<"al ";
Beep(440,700);//la
system("color c0");
cout<<"ni";
Beep(523,1000);//do1
system("color a0");
cout<<"ma";
Beep(493,1000);//si
system("color 0a");
cout<<"nui!!!!!!";
Beep(440,1000);//la
system ("pause >NULL");
return 0;
}



Este facut in Code::Blocks


Edited by BuTiLoVe
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.