码迷,mamicode.com
首页 >  
搜索关键字:synthesis warning    ( 3933个结果
jedis的publish/subscribe[转]含有redis源码解析
首先使用redis客户端来进行publish与subscribe的功能是否能够正常运行。打开redis服务器[root@localhost ~]# redis-server /opt/redis-2.4.10/redis.conf [7719] 16 Apr 11:37:22 # Warning:....
分类:其他好文   时间:2015-02-26 16:12:37    阅读次数:235
pyqt一个简单的邮箱
defsend1(self,warning):m1=self.mailEdit.text()m2=self.mailEdit_2.text()m3=self.mailBox.currentText()text=self.mailEdit_3.text()importsmtplib#man1邮箱服务器...
分类:其他好文   时间:2015-02-25 19:54:11    阅读次数:347
自定义log日志输出到文件中保存
log.h //log.h #ifndef _ITCAST_LOG_H_ #define _ITCAST_LOG_H_ /* #define IC_NO_LOG_LEVEL 0 #define IC_DEBUG_LEVEL 1 #define IC_INFO_LEVEL 2 #define IC_WARNING_LEVEL 3 #define IC_ERROR_LEVEL 4...
分类:其他好文   时间:2015-02-21 21:06:01    阅读次数:279
PAT:1009. 说反话 (20) AC
#include#include#includeint main(){ char in[90]; gets(in); char save[90][90]; memset(save,0,sizeof(save)); //【warning】memset一下,让最后是0,才不会一直输出“烫烫...
分类:其他好文   时间:2015-02-20 13:01:27    阅读次数:168
QMessageBox 使用方法
在Qt中经常需要弹出窗口,QMessageBox可以实现此功能,一共有三种窗口,information, question, 和 warning,分别对应感叹号,问号和叉号,使用方法很简单,一共有三个参数,第一个是父窗口句柄,剩下两个分别为窗口名称和显示内容,显示内容为QString类型。如下所示:...
分类:其他好文   时间:2015-02-20 07:36:43    阅读次数:226
PAT:1009. Product of Polynomials (25) AC
#include#include#include//【warning】double 输入%lf,输出%fstruct arr{ int exp; //指数 double cof; //系数}arr[1005];double ans[2010]; //下标是指数,内容是系...
分类:其他好文   时间:2015-02-18 10:40:36    阅读次数:202
PAT:1002. A+B for Polynomials (25) 部分错误
#include#include#include//【warning】double 输入%lf,输出%fstruct arr{ int tag; double data;}arr[1005];int main(){ memset(arr,0,sizeof(arr)); int t1,t2,t...
分类:其他好文   时间:2015-02-17 23:33:31    阅读次数:132
Altera的几个常用的Synthesis attributes(转载)
各厂商综合工具,对HDL综合时都定义了一些综合属性这些属性可指定a declaration,a module item,a statement, or a port connection不同的综合方式。语法为:/* synthesis, <any_company_specific_attribute...
分类:其他好文   时间:2015-02-15 12:03:38    阅读次数:208
PAT:1026. 程序运行时间(15) AC
#includeconst int CLK_TCK=100;int main(){ int c1,c2,x; scanf("%d%d",&c1,&c2); x=c2-c1; if(x%CLK_TCK>=50) //换算成秒,先四舍五入处理【warning】:这里是>=不仅仅> x=x/CLK_...
分类:其他好文   时间:2015-02-14 18:47:38    阅读次数:195
nagios插件之登陆路由器实现ping监控
router_check_apn_ping.c #include #include #include #define OK 0 #define WARNING 1 #define CRITICAL 2 #define UNKNOWN 3 #define LEN 1000 //#define TCL_CMD "/home/weihu/tcl/" ...
分类:移动开发   时间:2015-02-14 16:15:16    阅读次数:228
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!