后台开发日常学习
文章平均质量分 91
在工作学习中,一步一步积累。
resist_o
这个作者很懒,什么都没留下…
展开
-
mysql_real_connect()函数介绍
头文件#include函数原型描述:MYSQL *mysql_real_connect (MYSQL *mysql,const char *host,const char *user, const char *passwd, const char *db, unsigned int port,const char *unix_socket,unsig转载 2017-11-02 16:36:29 · 34314 阅读 · 2 评论 -
位运算函数实现float型变量取整数位
虽然C语言自带隐式类型转换,即:float f=12.25;int a=f;printf("%d\n",a); //结果是12但是这几天了解了float的结构,所以自己写了一个函数 int ftoi(const float f) 来实现它下面是float的结构:float一共32位,其结构定义如下:|-------- 31 -------|-原创 2016-01-15 19:59:26 · 6204 阅读 · 5 评论