![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
grammar
artemiseven
Android 音频系统
展开
-
Makefile
Makefile的语法 通配符: %.o $@ 表示目标 $< 表示第1个依赖文件 $^ 表示所有依赖文件 打印变量信息 $(info/warning/error) 来打印 @echo 打印但是需要在target后面,并且加上tab. pwd:=$(shell pwd) $(info "info") $(warning "warning") $(error "error: this ...原创 2019-03-05 10:53:44 · 74 阅读 · 0 评论 -
.config、Kconfig、Makefile
参考-menuconfig过程 参考-区别 关系描述 Kconfig —> (每个源码目录下)提供选项 .config —> (源码顶层目录下)保存选择结果 Makefile —> (每个源码目录下)根据.config中的内容来告知编译系统如何编译 在Linux内核源码的各层目录下。都存在一个Kconfig文件和一个Makefile文件,.config文件存在顶层目录 ...原创 2019-03-06 10:56:32 · 279 阅读 · 0 评论 -
静态库和动态库
我们通常把一些公用函数制作成函数库,供其它程序使用。 函数库分为静态库和动态库两种。 静态库在程序编译时会被连接到目标代码中,程序运行时将不再需要该静态库。 动态库在程序编译时并不会被连接到目标代码中,而是在程序运行是才被载入,因此在程序运行时还需要动态库存在。 本文主要通过举例来说明在Linux中如何创建静态库和动态库,以及使用它们。 在创建函数库前,我们先来准备举例用的源程序,并将函数库的源程...原创 2019-03-06 10:56:58 · 125 阅读 · 0 评论 -
Cpp
重载运算符:operator //修改之前的point add() point operator+(point &p1,point &p2){ point n; n.x = p1.x + p2.x; n.y = p1.y + p2.y; return n; } //调用 point a; point b; point c = a+b; 友元函数 将一...原创 2019-03-08 16:40:40 · 194 阅读 · 0 评论 -
Java
JAVA各种类型各占多少字节*,*多少位 1个字节是8位 只有8种基本类型可以算.其他引用类型都是由java虚拟机决定的自己不能操作 byte 1字节 short 2字节 int 4字节 long 8字节 float 4字节 double 8字节 char 2字节 boolean 1字节 错误: 编码GBK的不可映射字符 javac -encoding UTF-8 HelloWorle.j...原创 2019-03-08 16:41:03 · 282 阅读 · 0 评论 -
Python
python下载 下载 安装 a. 下载python包 *.tar.bz2用tar –xjf 解压 b. 一次执行./configure make make install ubuntu 切换python版本 sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 100 sudo updat...原创 2019-03-08 16:41:34 · 137 阅读 · 0 评论 -
bat
5,定时执行: @echo off :start echo jajaja choice /t 5 /d y /n >nul goto start 1, 变量延长生命周期 SETLOCAL ENABLEDELAYEDEXPANSION 使用变量时,使用 !value! 包裹 2, 获取外界输入值 set tag1=%1 ->第一个值 3,常用指令 rem 表示此命令后的字符...原创 2019-03-08 16:41:52 · 155 阅读 · 0 评论 -
lua
ubuntu安装lua 下载安装lua下载 curl -R -O http://www.lua.org/ftp/lua-5.3.4.tar.gz tar zxf lua-5.3.4.tar.gz cd lua-5.3.4 make linux test make install 在执行make时可能会报readline什么的错误 sudo apt-get install libreadl...原创 2019-03-08 16:42:12 · 126 阅读 · 0 评论