摘要: 1 外频:是指CPU与外部组件进行数据传输的速度; 倍频:是指CPU内部加速工作的一个倍数; CPU工作频率 = 外频*倍频 例如:Intel Core 2 E8400 的内频为3GHz, 外频为333MHz, 倍频为9。 现在Intel 的CPU 会主动超频,CPU的频率是一直变化的。如果CPU没 阅读全文
posted @ 2017-07-06 16:00 Micheal_you 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1 how many people learn finance first time. 2 talk about his sons story. 3 motivation \ personal time and risk two important fact six principles <公司理财 阅读全文
posted @ 2017-06-26 11:39 Micheal_you 阅读(178) 评论(0) 推荐(0) 编辑
摘要: communication 阅读全文
posted @ 2017-06-17 11:40 Micheal_you 阅读(1392) 评论(0) 推荐(0) 编辑
摘要: 限定符的作用是限定变量,而使被限定的变量具有特殊的属性,以达到我们变成的目的。通常有局部变量和全局变量,局部变量定义在函数内被,期生命周期在函数被调用的时间内;而全局变量定义在函数外部,其生命周期,贯穿始终。 接着我们说说,在嵌入式底层开发,常用的限定符:static, volatile, exte 阅读全文
posted @ 2017-05-31 23:25 Micheal_you 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #define N 6 3 int sum(int n, const arr[]);//求和函数声明declare 4 int main(void){ 5 int arr[N]; 6 int i; 7 int t_sum = 0; 8 9 for (i = 0; i < N;i++){//input int numb... 阅读全文
posted @ 2017-04-04 19:21 Micheal_you 阅读(306) 评论(0) 推荐(0) 编辑
摘要: REMEBER: 1 continue causes the rest of an iteration to be skipped and the next iteration to be started. 2.break causes the program to break free of th 阅读全文
posted @ 2017-04-04 15:58 Micheal_you 阅读(174) 评论(0) 推荐(0) 编辑
摘要: #include #include "ctype.h" #define STOP '|' int main(void){ char c;//Initializing long n_char = 0L; int n_word = 0; int n_line = 0; int inword = 0;//This is a flag making sure ... 阅读全文
posted @ 2017-04-04 14:41 Micheal_you 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 问题背景:判断数字x是否在一个包含N个数字的列表中S。这里采用三种方法来改变主函数中参数值。分别为:返回值(return)、定义全局变量和指针方法 注意(*ptr_location)++ 一定有括号方式一:返回参数 return int 1 #include 2 //void search(int n, int x, const int arr[]); 3 int main(voi... 阅读全文
posted @ 2017-04-04 13:30 Micheal_you 阅读(146) 评论(0) 推荐(0) 编辑
摘要: while((c = getchar()) != ' ' && c != '\n') The first subexpression gives a value to c ,which then is used in the second subexpression. while(x++ < 10 && x + y < 20) The fact that the && operator is... 阅读全文
posted @ 2017-04-03 11:50 Micheal_you 阅读(121) 评论(0) 推荐(0) 编辑
摘要: REMEBER It demonstates a characteristic C programming style combing two actions in one expression. 阅读全文
posted @ 2017-04-03 11:02 Micheal_you 阅读(163) 评论(0) 推荐(0) 编辑