c++生日快乐祝福代码动图蛋糕
时间: 2023-11-04 15:07:00 浏览: 684
cpp代码-生日专用的
以下是一段C++代码,可以输出生日快乐祝福语、动图和蛋糕:
```c++
#include <iostream>
#include <windows.h>
using namespace std;
int main() {
cout << "Happy Birthday!" << endl;
Sleep(1000);
cout << " _________ ____.---'" << endl;
cout << " / \\_.-\" \\" << endl;
cout << "| C知道 | ..... |" << endl;
cout << "\\_________/ / \\ /" << endl;
cout << " | |__| / /\\ \\/" << endl;
cout << " |__| | / / \\ \\" << endl;
cout << " /____\\ | /_/____\\ \\" << endl;
cout << "| | | | |" << endl;
cout << "| | | | |" << endl;
cout << "| |_| | |" << endl;
cout << "\\______/_\\ /_________|" << endl;
Sleep(1000);
cout << " .-'`'-. " << endl;
cout << " .' .===. '. " << endl;
cout << " / / .\\_/ .\\ \\ " << endl;
cout << " _| |_\\/_/_|_|_ " << endl; cout << " |_ ' `\"\"`/`\"\"` _|" << endl;
cout << " \\/`\\__/ \\__/`\\/" << endl;
cout << " \\_\\/O| |O\\/_" << endl;
cout << " > _\\ \\ / /_ <" << endl;
cout << " /_/`\\_\\`\\/_/`\\_\\" << endl;
Sleep(1000);
cout << " ,,,,,,," << endl;
cout << " / \\" << endl;
cout << " / / \\ \\" << endl;
cout << " /////////\\\\" << endl;
cout << " //// \\\\\\\\" << endl;
cout << " /// \\\\\\\\" << endl;
cout << "| | | |" << endl;
cout << "| | | |" << endl;
cout << "| | | |" << endl;
cout << "\\_\\ /_/" << endl;
Sleep(1000);
cout << " ,,,,,,," << endl;
cout << " /(.) (.)\\" << endl;
cout << " \\ \\ / /" << endl;
cout << " \\\\___//" << endl;
cout << " \\\\V//" << endl;
cout << " |||" << endl;
cout << " |||" << endl;
cout << " |||" << endl;
cout << " |||" << endl;
cout << " |||" << endl;
cout << " |||" << endl;
Sleep(1000);
cout << "Hope you have a wonderful birthday!" << endl;
return 0;
}
```
阅读全文