码迷,mamicode.com
首页 >  
搜索关键字:warnings    ( 1040个结果
解决vs2015使用fopen、fprintf等函数报错的问题
出现错误提示: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See onl ...
分类:其他好文   时间:2016-05-19 19:15:34    阅读次数:3614
哈希桶
哈希桶:建一个存放指针的数组,将hash出的key跟数组的下标进行对应,将对应的数据链接到该位置。eg:要存112224345436利用模除算出位置:11%10=121%10=124%10=434%10=454%10=436%10=6代码实现: #define_CRT_SECURE_NO_WARNINGS #include<iostream> usingnamespacestd; ..
分类:其他好文   时间:2016-05-17 01:08:12    阅读次数:755
索引与like优化
未建索引 mysql> alter table modulestatus drop index imei;Query OK, 457922 rows affected (4.29 sec)Records: 457922 Duplicates: 0 Warnings: 0 mysql> SELECT ...
分类:其他好文   时间:2016-05-16 00:10:23    阅读次数:354
通讯录-第一版番外篇
#define _CRT_SECURE_NO_WARNINGS 1 #ifndef __ADDRESSBOOK_H__ //使用条件编译,防止重复引入头文件 #define __ADDRESSBOOK_H__ #define NAME_MAX 20 #define SEX_MAX 6 #define TELE_MAX 20 #define ADDR_MAX 40...
分类:其他好文   时间:2016-05-13 14:57:38    阅读次数:157
通讯录--第二版番外篇
#define _CRT_SECURE_NO_WARNINGS 1 #ifndef __ADDRESSBOOK_H__ //使用条件编译,防止重复引入头文件 #define __ADDRESSBOOK_H__ #define NAME_MAX 20 #define SEX_MAX 6 #define TELE_MAX 20 #define ADDR_MAX 40...
分类:其他好文   时间:2016-05-13 14:56:17    阅读次数:184
C 结构体嵌套一级指针 二级指针 动态分配内存
#define _CRT_SECURE_NO_WARNINGS #include #include #include //结构体嵌套一级指针 二级指针 动态分配内存 typedef struct _Teacher { int age; int id; char *title; char **pStuarray; char name[64]; }Teacher; //打印结构体 v...
分类:其他好文   时间:2016-05-12 16:53:16    阅读次数:387
MYSQL中的常用工具
查看当前登录用户:mysql>selectcurrent_user();字符集设置:mysql>setnamesutf8mb4;mysql>showvariableslike‘chara%‘;-e执行sql语句并退出-E竖着显示-s去掉线条框显示-f强制执行-v显示更多信息--show-warnings显示警告mysqlbinlogmysql>flushlogs;mysql>usemys..
分类:数据库   时间:2016-05-05 17:49:53    阅读次数:226
C语言 配置文件读写
//配置文件读写项目 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> #include<string.h> int writefile(const char *path/*in*/, char *pkey/*i ...
分类:编程语言   时间:2016-05-02 17:03:23    阅读次数:482
Python 模块学习 logging
一、快速入门 1、基础知识 派出: 控制台输出:print() 报告事件,发生在一个程序的正常运行:logging.info()或logging.debug() 发出警告关于一个特定的运行时事件:warnings.warn()或logging.warning() 报告一个错误对于一个特定的运行时事件:异常处理 报告一个错误当没有引发一个异常:logging.error()、log...
分类:编程语言   时间:2016-04-29 15:10:05    阅读次数:294
import com.sun.image.codec.jpeg.JPEGCodec不通过 Eclipse找不到包
Eclipse默认把这些受访问限制的API设成了ERROR。只要把Windows-Preferences-Java-Complicer-Errors/Warnings里面的Deprecated and restricted API中的Forbidden references(access rules ...
分类:系统相关   时间:2016-04-24 00:32:22    阅读次数:368
1040条   上一页 1 ... 65 66 67 68 69 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!