自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

出来混,迟早都要还的

记录工作学习点滴

  • 博客(10)
  • 资源 (2)
  • 收藏
  • 关注

原创 程序的编译链接与执行--IAR

IAR是很多嵌入式平台的编译链接与下载工具,为编程人员提供了极大的方便。下面我将以它为例来详细解说。一般程序下载进入相应的硬件平台需要以下三个阶段:程序的编译、程序的链接、程序的运行。1.1 程序的编译阶段编译,首先由编译器和汇编器,生成可重定向的目标文件,或也可以进而生成相应的库文件如下图所示。而对于生成相应的库文件,这里可以生成相应的静态库与动态库:对于静态

2014-12-01 17:46:04 1544

原创 第十四章 字符串

1.1 整数字符串转化例题1 整数转化为字符串#include int main() {int num = 65535;char str[7] = {0};char temp[7] = {0};int i = 0, j = 0;while(num) {temp[i] = num%10 + '0';i++;num = num/10;}tem

2014-12-01 11:05:18 407

原创 第十三章 数据结构基础--栈

1.1 入栈入栈:#include typedef struct student {int age;struct student *next;}Stu;typedef struct stackqueue {Stu *base, *top;}stack;stack *PushStack(stack *head, int age) {Stu *c

2014-11-26 15:16:48 333

原创 第十三章 数据结构基础--队列

1.1 入队入队:从队列的尾部加入结点。#include typedef struct student {int age;struct student *next;}Stu;typedef struct linkqueue {Stu *front, *rear;}queue;queue *EnQueue(queue *head, int

2014-11-26 14:50:37 300

原创 第十三章 数据结构基础--单链表

1.1 单链表的创建尾部加入法创建单链表:头节点、尾节点、中间节点;头节点与尾节点的初始化。  #include typedef struct student {int age;struct student *next;}Stu;Stu *SingleListTailCreate() {Stu *head = NULL, *tail = NULL,

2014-11-26 11:27:22 362

原创 第十二章 位运算与嵌入式编程

1.1 位制转换例题1int main() {printf("%f\n", 5);printf("%d\n", 5.01);return 0;}

2014-11-25 11:31:54 453

原创 第八章 递归与循环

123

2014-11-25 11:26:54 319

原创 第七章 指针与引用

1.1 传递动态内存例题1

2014-11-23 11:37:05 433

原创 第六章 预处理、const、sizeof

1.1 宏定义例题1typedef struct  student {int a;char b[20];double c;}Stu;#define FIND(Stu, b)  ((unsigned int)&(((Stu*)0)->b))

2014-11-17 10:42:47 484

原创 第五章--基本概念

#include "stdafx.h"//p29//int i = 1;//int main() {// int i = i; //execute error: not initialized.// return 0;//}

2014-11-15 09:25:27 359

IAR EW8051

IAR 是一套开发工具,用于对汇编、C或C++编写的嵌入式应用程序进行编译和调试。

2010-10-04

双端口RAMIDT7132程序

双端口RAMIDT7132C程序有非常好的实用价值,调试过的

2010-05-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除