自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

天使之翼

一个技术男的书房

  • 博客(7)
  • 资源 (12)
  • 问答 (1)
  • 收藏
  • 关注

原创 简单理解动态内存分配和静态内存分配的区别

在涉及到内存分配时,我们一般都要考虑到两种内存分配方式,一种是动态内存分配,另一种是静态内存分配,我们该怎么理解这两者的区别呢?在我看来,静态内存分配和动态内存分配比较典型的例子就是数组和链表,数组的长度是预先定义好的,在整个程序中是固定不变的,所以他在内存分配时是以静态内存分配的方式进行的。而链表,它的信息有可能会随时更改,内存的分配取决于我们实际输入的数据,这样就用到了动态内存分配的方式。

2015-06-22 13:38:22 5325

原创 递归函数的经典例子(汉诺塔问题)

#includevoid HN(int n,char a,char b,char c);int main(int argc,char *argv[]){ int Dish_num; printf("Please Input the Dish num: ");  scanf("%d",&Dish_num); while(Dish_num != 0){  printf(

2015-06-22 13:36:37 2338

原创 搭建andriod开发环境

作为一名之前从未接触过andriod的菜鸟级人物,我之所以用andriod是因为要做的毕业设计里面需要做一个APP,但是在我开始我的APP之前,我遇到的最大的问题就是怎么搭建andriod这个开发环境,我在网上查了大量的资料,怎奈各种尝试的结果是很痛苦,当然这里面肯定有我的因素存在。 第一步,和搭建JAVA开发环境一样,自己下载安装个JDK,我的是没有设置环境变量,我估计现在JDK

2015-06-22 13:33:41 754

原创 判断回文,位与,位或

//判断字符串是否是回文?int fun(char *sre){char *s1,*s2;s1 = str;s2=str+strlen(str)-1;if(strlen(str)%2 != 0){return 0;}while(s1{if(*s1==*s2){s1++;s2--;

2015-06-22 13:31:16 727

原创 Cortex-A8嵌入式开发板平台搭建

1 构建嵌入式开发平台1.嵌入式linux 软件系统由bootloader、kernel、root filesystem 构成,如下:Bootloader(一次固化) + 内核(多次更新) + 根文件系统制作2.资料拷贝:资料存放路径(24 机)如下:2.6.35.7_tools将上面路径下用到的文件拷到自己虚拟机中,存放在自建目录下:例如(推荐):/home/edu/

2015-06-22 13:26:25 3625

原创 Qt一个错误的解决方法

arm-linux-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt_cortex-a8_4.3.2/mkspecs/qws/linux-arm-g++ -I. -I/usr/

2015-06-22 13:21:44 6000

原创 配置编译环境

在我们工作中,经常会遇到需要搭建编译环境的事情,本身这是一件很简单的事情,但是在实际的操作中却会遇到很多的问题,比如说环境搭建好了,却不能起作用,或者提示缺少了什么动态库;搭建环境需要注意的地方:1. 一般搭建编译环境都是解压某以特定的工具包,我习惯上把着这些工具包放置在/opt目录下,然后tar -zxvf ***.tar.gz ./然后查找这些文件下的bin文件,将这些

2015-06-11 06:41:29 1364

virtio-v1.1-csprd01.pdf

virtio-v1.1-csprd01.pdf

2022-08-24

virtio-v1.1.pdf

半虚拟化virtio协议的官方文档

2022-08-23

CoAP_rfc7252.pdf

The Constrained Application Protocol (CoAP) is a specialized web transfer protocol for use with constrained nodes and constrained (e.g., low-power, lossy) networks.

2020-12-04

openocd-2020-12-23.pdf

Open On-Chip Debugger:OpenOCD User’s Guide This User’s Guide documents release 0.10.0+dev, dated 23 November 2020, of the Open On-Chip Debugger (OpenOCD). • Copyright c 2008 The OpenOCD Project • Copyright c 2007-2008 Spencer Oliver spen@spen-soft.co.uk • Copyright c 2008-2010 Oyvind Harboe oyvin

2020-11-24

_install.tar.gz

这个_install是我基于busybox-1.31.0编译的arm64的版本,这个可以直接下载下来拿到linux4.0的低版本上直接去使用,需要注意的是,如果修改该压缩包里面的文件,则需要重新编译内核才会生效。

2020-07-08

busybox-1.31.0.tar.bz2

busybox的下载地址:https://busybox.net/downloads/,稍后我上传一个编译好的arm64的busybox _install_arm64

2020-07-08

Real-Time Embedded Multithreading--Using ThreadX.7z

1,Real-Time Embedded Multithreading Using ThreadX and MIPS 2,Real-Time_Embedded_Multithreading_Using_ThreadX 3,Real-Time Embedded Multithreading Using ThreadX and ARM 4,eetop.cn_Real-Time.Embedded.Multithreading-Using.ThreadX.and.MIPS 5,(CMP) Real-Time Embedded Multithreading--Using ThreadX & ARM

2019-08-20

简明 Python 教程_cn_en

A Byte of Python》 是一本由 Swaroop C H 编写, 旨在于介绍如何使用 Python 语言进行编 程的自由图书。 它以教材与指南的形式为入门者介绍 Python 语言。 如果你对电脑知识的了解 仅限于如何保存文本文件的话, 那这本书就是为你准备的。 2005 年, 沈洁元将本书的 1.20 版引进中国, 并完成了全本翻译, 将本书的译名定为《简明 Python 教程》 。 2017年, 漠伦基于原书 4.0 版重新翻译, 制作了本版全新译本, 并沿用同样 的译名。 向大神们致敬

2018-09-04

Inside the C++ Object Model_english&chinese;

Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"-virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code more efficiently and with greater confidence. Lippman dispells the misinformation and myths about the overhead and complexity associated with C++, while pointing out areas in which costs and trade offs, sometimes hidden, do exist. He then explains how the various implementation models arose, points out areas in which they are likely to evolve, and why they are what they are. He covers the semantic implications of the C++ object model and how that model affects your programs.

2018-07-27

See mips run

In manyways, the first edition of See MIPS Run was a ground-breaking book on the MIPS architecture and its implementations. While other books covered similar material, See MIPS Run focused on what the programmer needed to understand of the architecture and the software environment in order to effectively program a MIPS chip.

2018-03-17

vi编辑器的一些配置文件

这个是vim的配置文件,在家目录下直接解压即可使用。

2014-09-16

vim工具使用

一个关于vim的资料,资料在家目录直接解压之后就可以使用,当你用vi或者vim得时候就可以看到效果。

2014-09-07

vim配置信息

vim配置脚本。有了它对于应用开发有很大的好处。

2014-09-03

python在linux下的路径

1,python的资料。 2,linux下的python下的资料。

2014-04-26

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

TA关注的人

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