SecureCRT.8.5.3.rar
SecureCRT.8.5.3.rar
Go语言参考手册
pdf格式,中文
目录:
1 简介 1
官方文档. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
前身. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
获得Go . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
在Windows下获得Go. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 基础 6
Hello World . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
编译和运行代码. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
本书使用的设置. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
变量、类型和保留字. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
运算符和内建函数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Go保留字. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
控制结构. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
内建函数. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
array、slices和map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3 函数 30
作用域. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
多值返回. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
命名返回值. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
延迟代码. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
变参. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
函数作为值. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
回调. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
恐慌(Panic)和恢复(Recover). . . . . . . . . . . . . . . . . . . . . . . 36
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4 包 48
标识符. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
包的文档. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
测试包. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
常用的包. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5 进阶 58
内存分配. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
定义自己的类型. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
转换. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6 接口 70
方法. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
接口名字. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
简短的例子. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7 并发 82
更多关于channel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
8 通讯 90
io.Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
一些例子. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
命令行参数. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
执行命令. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
网络. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
练习. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
答案. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
A 版权 106
贡献者. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
许可证和版权. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Python v2.6.1学习手册
python的chm的英文文档,包含:
What's new in Python 2.6?
or all "What's new" documents since 2.0
Tutorial
start here
Using Python
how to use Python on different platforms
Language Reference
describes syntax and language elements
Library Reference
keep this under your pillow
Python HOWTOs
in-depth documents on specific topics
Extending and Embedding
tutorial for C/C++ programmers
Python/C API
reference for C/C++ programmers
Installing Python Modules
information for installers & sys-admins
Distributing Python Modules
sharing modules with others
Documenting Python
guide for documentation authors
C++函数手册-12M(chm格式)
非常全面的C++函数手册,chm格式
如介绍memset
NAME
memset - set bytes in memory
SYNOPSIS
#include <string.h>
void *memset(void *s, int c, size_t n);
DESCRIPTION
The memset() function copies c (converted to an unsigned char) into each of the first n bytes of the object pointed to by s.
RETURN VALUE
The memset() function returns s; no return value is reserved to indicate an error.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
SEE ALSO
<string.h>.
DERIVATION
Derived from Issue 1 of the SVID.
针对timesten 内存数据库的java开发手册【pdf】
针对timesten 内存数据库环境的java开发手册,pdf格式
timesten 内存数据库 sql语法参考【pdf】
timesten 内存数据库 sql语法参考,pdf格式
timesten 内存数据库的C++开发参考手册【pdf】
针对 timesten 内存数据库的C++开发参考手册,pdf格式
内存数据库 TimesTen 安装手册【pdf】
oracle 内存数据 timesten 的安装手册 ,pdf格式
Oracle9i客户端精简版【14M】
Oracle9i客户端精简版 for windows 大小14M
Weblogic管理员手册 for windows [PDF]
Weblogic管理员手册 for windows,PDF格式
跟我一起写Makefile[pdf版]
陈皓写的《跟我一起写Makefile》,pdf版本,总共57页。内容丰富,值得一载。