摘要: ```c++ include include include using namespace std; int main22(int argc,char argv[]) { //创建文件 //lpFileName:将要打开的串口逻辑名,如"COM1"; //dwDesiredAccess:指定串口访 阅读全文
posted @ 2019-04-16 10:31 熊云港 阅读(1318) 评论(0) 推荐(0) 编辑
摘要: 指针和引用 指针:是一个变量,存储着一个地址(占4个字节),这个地址指向一块内存。 引用:是一个已有变量的别名,所以引用在创建的时候就需要初始化。 c++ include using namespace std; typedef struct{ int a; int b; int c; void ( 阅读全文
posted @ 2019-04-16 10:24 熊云港 阅读(325) 评论(0) 推荐(0) 编辑