摘要: 详细见文档:https://github.com/210843013/arm-linux-gcc/tree/master/set_environment 阅读全文
posted @ 2017-10-16 17:19 #ifndef 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 将博客搬家至:https://blog.csdn.net/github_37687123 阅读全文
posted @ 2021-12-01 18:36 #ifndef 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 运行结果: 运行结果: 阅读全文
posted @ 2016-11-22 18:46 #ifndef 阅读(5093) 评论(0) 推荐(1) 编辑
摘要: 1 #define ListSize 100 2 #include 3 // 存储结构 4 typedef struct Seqlist 5 { 6 int list[ListSize]; 7 int length; 8 }; 9 //初始化 10 void InitList(Seqlist *L) 11 { 12 L->le... 阅读全文
posted @ 2016-10-25 10:36 #ifndef 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 如果友元是一般函数或类的成员函数,则称之为友元函数,声明友元函数的方式是在类中使用关键字friend声明该函数,一般格式如下: friend 函数类型 友元函数名 friend intercept add(point a,point b); // 友元函数的声明 友元函数的声明的位置任意,即可以放在 阅读全文
posted @ 2016-08-30 17:16 #ifndef 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 所谓的运算符重载指的是同一个运算符完成不同的运算,运算符重载是通过运算符重载函数实现的,当c++编译遇到重载运算符时,例如c1 c2中的减法运算符 时候,会自动调用 运算符的重载函数完成减法运算。 include"iostream" class Complex { float a; float b; 阅读全文
posted @ 2016-08-30 09:25 #ifndef 阅读(634) 评论(0) 推荐(0) 编辑