- 博客(7)
- 资源 (10)
- 收藏
- 关注
原创 chapter8test7
#includeusing namespace std;templateT sum(T arr[], int n);templateT sum(T *arr[], int n);struct debts{char name[20];double amount;};int mian(){int things[6] = { 13, 25, 4, 10
2015-05-26 21:06:34 362
原创 chapter8test6
#includeusing namespace std;template T maxn(T *row, int n);template (char *row[], int n);int main() {int row1[] = { 1, 2, 30, 41, 5,8 };int len1 = sizeof(row1) / sizeof(int);int max1
2015-05-26 20:28:31 319
原创 chapter8test5
#includeusing namespace std;template T max5(T *a){T temp=a[0];for (int i = 1; i {if (temp temp = a[i];}return temp;}int main(){int row1[] = { 1, 2, 30, 41, 5 };int mint
2015-05-26 17:26:10 299
原创 chapter8test3
#include#include#includeusing namespace std;string replace(string & );int main(){string word;cout getline(cin,word);while (word != "q"){string &input = word;string lower=repl
2015-05-25 20:38:09 344
原创 chapter8test2
这段程序基本正确,但是我的VS2013已知不能运行strcpy,所以没有出现结果,但是问题不大#include#includeusing namespace std;struct CandyBar{char *name;double weight;int energy;};void set(CandyBar &Bar,string n = "Millenni
2015-05-25 20:03:06 376
原创 C++学习之旅
对于一个水母级别的水货,我现在才开始学编程语言,以前接触过定点的C,但是因为代课的老师不是很可爱,让我对编程类产生深深地恐惧。 前段日子我愈发觉得不会点编程能力以后很难找到工作,借来同学一本C++ primer plus 6看了一看,书写的浅显易懂,索性自己也买了一本,现在学到chapter8之前的课后习题做了一遍觉得C++也不想原先的那样高出不胜寒,所以我要把之后的练习程序都整理出来,便
2015-05-25 16:22:21 456 2
原创 chapter8test1
这段程序用到了chapter8的内联函数,引用#include#includeusing namespace std;static int time = 0; //这是关键所在inline int times(string &cha,int n){ if (n == 0)cout elsefor (int i = 0; i cout time++
2015-05-25 16:12:19 371
stm32 CAN1 CAN2 loopback
2018-05-18
stm32 TIM input capture and create PWM wave
2018-04-29
Configure Eclipse for STM32 development
2017-12-09
LSD a line detection algorithm
2017-10-22
数字图像处理 冈萨雷斯 中文第二版
2015-11-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人