10 2018 档案
摘要:1 #include<reg52.h> 2 typedef unsigned char uint8; 3 typedef unsigned int uint16; 4 5 sbit rw=P2^5; 6 sbit rs=P2^6; 7 sbit e=P2^7; 8 sbit led=P3^7; 9
阅读全文
摘要:如何在Linux、Ubuntu系统中运行一个C++程序,请大家安装好g++等软件后调试
阅读全文
摘要:利用C++学习内容,通过windows自带函数实现一个简易的时钟 #include<iostream> #include<windows.h> //延时与清屏头文件 using namespace std; class time { public: time(){year=0;month=0;day
阅读全文
摘要:1 #include<iostream> 2 //using namespace std; 3 int main() 4 { 5 /* **************************************************** */ 6 /*给枚举类型某个变量赋值green=5,blu
阅读全文

浙公网安备 33010602011771号