05 2016 档案
摘要:【C++专题】static_cast, dynamic_cast, const_cast探讨 首先回顾一下C++类型转换:C++类型转换分为:隐式类型转换和显式类型转换第1部分. 隐式类型转换又称为“标准转换”,包括以下几种情况:1) 算术转换(Arithmetic conversion) : 在混...
阅读全文
摘要:Linux系统下的多线程遵循POSIX线程接口,称为pthread。编写Linux下的多线程程序,需要使用头文件pthread.h,连接时需要使用库libpthread.a。与vxworks上任务的概念类似,都是调度的最小单元,都有共享的堆、栈、代码区、全局变量等。 2. 创建线程int pt...
阅读全文
摘要://#include #ifndef _UNISTD_H#define _UNISTD_H #include #include
阅读全文
摘要:1. 查看数据库所有表 show tables2. 显示表结构show columns from 表名;4.更改表元素update tb_info set dizhi='牧野区',xingbie='男' where xuesheng='张冬雪';5 查看表结构desc dev_info;6.删除表中...
阅读全文
摘要:1.sip服务器回SBC Port Unreachable 说明转码器接收RTCP的端口没有打开
阅读全文
摘要:v=0o=- 1 0 IN IP4 164.135.25.51 #local ip ,即本机SIP信令交互地址s=SNS call #用于传递会话主题c=IN IP4 164.135.25.51 #media ip , 即接收RTP流的媒体地址,不一定是本机地址t=0 0 #会话时间,一般由其它信令...
阅读全文
摘要:# sudo tar zxvf ./jdk-7ull-linux-i586.tar.gz -C /usr/lib/jvm gzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable:...
阅读全文