首页 > 编程语言 >《维我校友,星聚南邕》南宁e中校歌c++版

《维我校友,星聚南邕》南宁e中校歌c++版

时间:2023-01-16 16:55:42浏览次数:46  
标签:星聚 校歌 c++ Beep re printf ban pai define

#include <cstdio>
#include <bits/stdc++.h>
#include <time.h>
#include <windows.h>
#define qdo 262
#define qre 294
#define qmi 330     //q前缀为低音,1后缀为高音,s前缀为半音阶 
#define qfa 349
#define qso 392
#define qla 440
#define qsi 494
#define do 523
#define re 578
#define mi 659
#define fa 698
#define so 784
#define la 880
#define si 988
#define do1 1046
#define re1 1175
#define mi1 1318
#define fa1 1480
#define so1 1568
#define la1 1760
#define si1 1976
#define sqdo 277
#define sqre 311
#define sqfa 370
#define sqso 415
#define sqla 466
#define sdo 554
#define sre 622
#define sfa 740
#define sso 831
#define sla 932
#define sdo1 1046
#define sre1 1245
#define sfa1 1480
#define sso1 1661
#define sla1 1865

//某位大佬整出的表
int main() {
	int pai = 500, ban = pai / 2;
	int ting = 128;

	Sleep(1000);
	printf("唯");
	Beep(qso, ban);
	Beep(do, ban);
	printf("我");
	Beep(mi, pai);
	printf("校");
	Beep(la, ban);
	printf("友,");
	Beep(so, ban);
	printf("星");
	Beep(do, ban);
	Beep(re, ban);
	printf("聚");
	Beep(mi, pai + ban);
	printf("南");
	Beep(re, ban);
	printf("邕\n");
	Beep(do, pai + ban);
	Sleep(ban);

	printf("阳");
	Beep(do, ban);//阳明过化 郁郁葱葱
	printf("明");
	Beep(fa, ban + pai);
	printf("过");
	Beep(fa, ban);
	printf("化,");
	Beep(fa, ban);
	printf("郁");
	Beep(la, ban);
	printf("郁");
	Beep(do, ban);
	printf("葱");
	Beep(so, pai);
	printf("葱\n");
	Beep(mi, pai + ban);
	Sleep(ban);

	printf("含");
	Beep(qso, ban);//含英咀华,正义是从
	printf("英");
	Beep(do, ban);
	printf("咀");
	Beep(mi, pai);
	printf("华,");
	Beep(la, ban);
	Beep(so, ban);
	printf("正");
	Beep(do, ban);
	Beep(re, ban);
	printf("义");
	Beep(mi, pai + ban);
	printf("是");
	Beep(re, ban);
	printf("从\n");
	Beep(do, pai + ban);
	Sleep(ban);

	printf("如");
	Beep(so, ban);
	printf("沐");
	Beep(do1, pai);//如沐时雨,如坐春风
	printf("时");
	Beep(re1, ban);
	printf("雨,");

	Beep(do1, ban);
	printf("如");
	Beep(la, ban);
	printf("坐");
	Beep(do1, ban);
	printf("春");
	Beep(so, ban);
	Beep(mi, ban);
	printf("风\n");
	Beep(so, pai + ban);
	Sleep(ban);

	printf("教");
	Beep(do, ban);
	printf("学");
	Beep(re, ban);//教学相长,
	printf("相");
	Beep(mi, pai);
	printf("长,");
	Beep(so, pai + ban);
	Sleep(ban);

	printf("观");
	Beep(so, ban);//观摩从同。
	printf("摩");
	Beep(so, ban);
	printf("从");
	Beep(mi, pai);
	printf("同\n");
	Beep(re, pai + ban);
	Sleep(ban);

	printf("譬");
	Beep(do, ban);
	printf("彼");
	Beep(re, ban);//譬彼新笪
	printf("新");
	Beep(mi, pai);
	printf("笪,");
	Beep(qla, pai + ban);
	Sleep(ban);

	printf("箐");
	Beep(re, ban);//箐茂匪穷。
	printf("茂");
	Beep(re, ban);
	printf("匪");
	Beep(qso, pai);
	printf("穷\n");
	Beep(qso, pai + ban);
	Sleep(ban);

	printf("晨");
	Beep(do, ban);//晨熹融融
	Beep(re, ban);
	printf("熹");
	Beep(mi, pai);
	printf("融");
	Beep(so, ban);
	Beep(mi, ban);
	printf("融,");
	Beep(do, ban);
	Beep(re, ban);

	printf("怒");
	Beep(qla, pai);//怒潮淙淙。
	printf("潮");
	Beep(re, ban);
	printf("淙");
	Beep(re, ban);
	printf("淙\n");
	Beep(qso, pai + ban);
	Sleep(ban);

	printf("三");
	Beep(do, ban);//三千弱水
	Beep(re, ban);
	printf("千");
	Beep(mi, pai);
	printf("弱");
	Beep(la, ban);
	printf("水,");

	Beep(so, ban);
	printf("一");
	Beep(do, ban);//,一苇之功。
	Beep(re, ban);
	printf("苇");
	Beep(mi, pai + ban);
	printf("之");
	Beep(re, ban);
	printf("功\n");
	Beep(do, pai + ban);
	Sleep(ban);
	std::cout << std::endl;

	main();
}

标签:星聚,校歌,c++,Beep,re,printf,ban,pai,define
From: https://www.cnblogs.com/yyx525jia/p/17055825.html

相关文章

  • python2.7错误:Microsoft Visual C++ 9.0 is required解决办法
     distutils.errors.DistutilsPlatformError:MicrosoftVisualC++9.0isrequired.Getitfromhttp://aka.ms/vcpython27`点开连接404,不提供下载,可取github上下载htt......
  • C/C++数据结构题目[2023-01-16]
    C/C++数据结构题目[2023-01-16]以下内容二选一题目1:校园导航系统的设计与实现问题描述:校园导航系统能够提供校园内场所信息和路径查询。以传媒大学校园为例,校园内包......
  • C/C++学生成绩管理系统[2023-01-16]
    C/C++学生成绩管理系统[2023-01-16]《C\C++语言课程设计》指导书一、课程设计概要项目名称:学期评优方案设计适用学期:2022年秋季学期适用班级:07D229-07D22C班二、项目......
  • C/C++路面导航系统[2023-01-16]
    C/C++路面导航系统[2023-01-16]数据结构大作业:路面导航系统系统初始信息,保存在数据库或其他文件中:1.初始化地图,生成若干节点,具有节点名,坐标(x,y)等必要信息。节点间的......
  • C++通讯录[2023-01-16]
    C++通讯录[2023-01-16]内容描述参考题目:通讯簿,用于保存个人信息,可分类为同学(信息项包括:姓名、生日、电话号码、邮件地址、学院名称、年级专业)、同事(信息项包括:姓名......
  • C++概述
     C++概述1c++简介“c++”中的++来自于c语言中的递增运算符++,该运算符将变量加1。c++起初也叫”cwithclsss”.通过名称表明,c++是对C的扩展,因此c++是c语言的超集,这意味......
  • python和C++调用动态库
    python和C++调用动态库python和C++相互调用动态库的方法有4种:python调用C/C++编译的动态库python调用python编译的动态库C/C++调用python编译的动态库C/C++调用C/C++......
  • C++11的多线程开发
    多线程并发总览创建线程使用互斥量异步线程原子类型生产者消费者模型线程池‍创建线程#include<iostream>#include<thread>#include<mutex>#include<fu......
  • C++|变量
    C++|变量前言在C++编程中,需要用到很多种变量本文将详谈几种常见变量如有错误,欢迎指出一、数字数据类型如图所示,虽然C++提供了许多数据类型,但在最广泛的意义上......
  • 【c++】以函数调用的方式来书写矩阵乘法
    一、第一版/*m:A的行*o:A的列,B的行*n:B的列*res:存储最终的结果*/voidmulti(doubleA0[21][21],doubleB0[21][21],intm,into,intn,doubleres[21][21]){......