前言: 主要讲解ODBC API, 以mysql为例, 从配置到安装, 再到具体的编程,
以期对ODBC有个初步的认识.*) 下载mysql, 选择社区版mysql, 并安装
http://dev.mysql.com/downloads/mysql/*) 下载mysql-odbc dr...
分类:
数据库 时间:
2014-05-10 05:51:59
阅读次数:
479
概述设备管理是 Linux 中比较基础的知识,与内核的关系也比较密切。随着 Udev
的广泛使用,Linux 发行版的智能程度越来越高,许多 Linux 新用户对 /dev 目录下的东西变得不再熟悉,有时候遇见问题就会抓狂。Linux
中的设备按照存取方式的不同,可以分为两种:字符设备无缓冲且只能顺...
分类:
系统相关 时间:
2014-05-10 03:11:52
阅读次数:
575
关于分区:
挂载点装置说明//dev/hda115G/home/dev/hda2最大的剩余空间/boot/dev/hda3200MB左右swap/dev/hda5大约内存大小(建议至少512MB)/var/dev/hda6视服务器功能决定大小
/ 20G /boot 用于挂载boot,...
分类:
其他好文 时间:
2014-05-10 00:33:59
阅读次数:
348
如果你想要在Chrome中进行GWT调试,需要安装“gwt developer plugin
for chrome”,但是普通安装模式下,会提示:This application is not supported on this computer.
Installation has been dis...
分类:
Web程序 时间:
2014-05-10 00:12:24
阅读次数:
507
在 mkfs.ext4 /dev/sda2 格式化硬盘空间时,可能出现这样的错误。
had this situation at office where I was told to re-partition an already existing partition. The situation was to get the below schema
/dev/sdb1 1 3040 24...
分类:
其他好文 时间:
2014-05-09 20:49:25
阅读次数:
343
find / –name sqlplus iostat –d 2 iostat和iowait详细解说
如果你想对硬盘做一个IO负荷的压力测试可以用如下命令 time dd if=/dev/zero bs=1M count=2048 of=direct_2G
此命令为在当前目录下新建一个2G的文件 我...
分类:
系统相关 时间:
2014-05-09 20:31:22
阅读次数:
547
运行环境:Ubuntu12.04PC提前安装库:flex,bison,libncureses5-dev,texinfo,这些库提前apt-get
install。需要重新安装:gawk(先apt-get remove mawk, 然后apt-get install gawk,工具链构建完成后可恢复)...
分类:
其他好文 时间:
2014-05-09 13:27:20
阅读次数:
686
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
测试程序:
#include
#include
struct dev
{
int a;
char b;
float c;
};
struct dev devs[]=
{
{
1,'a',7.0,
},
{
1,'a',7.0,
},
{
...
分类:
系统相关 时间:
2014-05-09 02:10:16
阅读次数:
494
fstat函数用于返回关于文件的信息到一个struct stat结构中,stat结构中的st_mode可以用来区分文件类型。
struct stat {
dev_t st_dev; /* ID of device containing file */
ino_t st_ino; /* inode ...
分类:
其他好文 时间:
2014-05-09 02:01:26
阅读次数:
379
newton板已经发布了,下面接着整理我调试的一个小小的方面,蓝牙的功能实现以及测试:
转载请注明出处:http://blog.csdn.net/wang_zheng_kai
3.2. Bluetooth Function Test
141
142 1)View the Bluetooth MAC address and device names:hcitool dev
143...
分类:
其他好文 时间:
2014-05-09 01:32:21
阅读次数:
265