在Java编译过程中会出现很多警告,有很多是安全的,但是每次编译有很多警告影响我们对error的过滤和修改,我们可以在代码中加上 @SuppressWarnings(“XXXX”) 来解决 @SuppressWarnings("deprecation")表示不去检测这个下面的方法是否被启用。 例如: ...
分类:
其他好文 时间:
2016-10-29 14:54:03
阅读次数:
277
#define _CRT_SECURE_NO_WARNINGS#include<stdlib.h>#include<windows.h>#include<stdio.h>void open(){ //start不能带路径,需要提前进入目录 system(" \"C:\\Program Files ( ...
分类:
其他好文 时间:
2016-10-27 22:52:27
阅读次数:
227
package com.eaju.soms.entity.custom; import java.util.List; @SuppressWarnings("rawtypes")public class PageBean { // 传递的参数或是配置的参数 private int currentPa ...
分类:
其他好文 时间:
2016-10-25 18:34:09
阅读次数:
139
//Li Cuiyun,October 14,2016.//用递归方法编程解决汉诺塔问题package tutorial_3_5;import java.util.*; public class HanoiTower { public static void main(String[] args) ...
分类:
编程语言 时间:
2016-10-25 02:23:54
阅读次数:
153
首先安装Linux系统,我以虚拟机安装来做示例,先去下载 VitualBox,这是一款开源的虚拟机软件,https://www.virtualbox.org 官网地址。或者是VMware,www.vmware.com,不过这个软件是收费的。当然同时还要去下载一个Linux镜像,我下载是CentOS ...
分类:
数据库 时间:
2016-10-23 20:11:05
阅读次数:
270
在VS 2013 中编译 C 语言项目,如果使用了 scanf 函数,编译时便会提示如下错误: error C4996: 'scanf': This function or variable may be unsafe. Consider using scanf_s instead. To disa ...
分类:
编程语言 时间:
2016-10-23 14:26:21
阅读次数:
423
在java中经常会看到有关空指针异常的错误,并且难以找出这样的错误,索性就总结一下。 · 产生空指针异常的原因: 1、字符串变量没有初始化。String str。你对字符串操作就会产生空指针异常。 2、if(a.equals(null))或者if(a.equals("")),都有可能产生空指针异常。 ...
分类:
编程语言 时间:
2016-10-22 09:35:28
阅读次数:
153
platform:ios,‘7.0‘inhibit_all_warnings!xcodeproj‘Demo.xcodeproj‘target:Demo1do
pod‘MBProgressHUD‘,‘~>0.9.1‘
pod‘AFNetworking‘,‘~>2.5.4‘
pod‘MJRefresh‘,‘~>2.3.2‘end
target:Demo2do
pod‘MBProgressHUD‘,‘~>0.9.1‘
pod‘AFNetworking‘,‘~>2.5.4‘
pod‘MJ..
分类:
其他好文 时间:
2016-10-20 15:52:23
阅读次数:
150
1.错误日志:log_error#错误日志log_warnings#警告信息也要记录到错误日志中;0:表示不记录;1表示记录log_error=/PATH/TO/ERROR_LOG_FILENAME定义错误日志文件。作用范围为全局或会话级别,可用于配置文件,属非动态变量。log_warnings=#设定是否将警告信息记录进错误日志。..
分类:
数据库 时间:
2016-10-09 14:44:00
阅读次数:
276