码迷,mamicode.com
首页 >  
搜索关键字:warnings    ( 1040个结果
Windows下利用原始套接字实现的一个抓包程序Demo
早就学过了套接字编程,但是原始套接字还没用过。最近听了网络安全老师的课,心血来潮,写了个抓包程序Demo,把代码分享给大家,感兴趣的可以看看。引用一句网络安全老师的话:“你们要本着技术的心态去实践,哎,一部分人,写着写着就成黑客了”。 #define _CRT_SECURE_NO_WARNINGS #include #include #include #include #inc...
分类:Windows程序   时间:2015-05-24 13:02:53    阅读次数:669
组队 UVa11609
1.题目描述:点击打开链接 2.解题思路:首先选择一个人当队长,有n种选法;对于每一个队长,剩下的可以有0,1,2,...n-1个人,一共有2^(n-1)种情况。答案就是n*2^(n-1)。 3.代码: #define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include...
分类:其他好文   时间:2015-05-22 13:35:28    阅读次数:126
全加和 UVa10943
1.题目描述:点击打开链接 2.解题思路:本题实际上就是求x1+x2+...+xk=n的非负整数解的个数。根据组合数学的结论,答案是C(n+k-1,k-1)。可以事先预处理算出所有的组合数。 3.代码: #define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include...
分类:其他好文   时间:2015-05-22 11:34:42    阅读次数:120
eclipse加速之禁用JS、jsp等文件的语法验证,eclipsejs
eclipse加速之禁用JS、jsp等文件的语法验证去除eclipse的JS验证:将windows->preference->Java Script->Validator->Errors/Warnings->Enable Javascript Sematic validation前面的勾去掉;选中要...
分类:Web程序   时间:2015-05-21 18:50:55    阅读次数:108
C#代码规范和质量检查工具
代码风格检查:StyleCopThe StyleCop tool provides warnings that indicate style and consistency rule violations in C# code. The warnings are organized into rul...
分类:Windows程序   时间:2015-05-21 14:05:59    阅读次数:441
最大公约数和最小公倍数 UVa11388
1.题目描述:点击打开链接 2.解题思路:本题通过观察发现,如果两个数a,b的最大公约数是G,那么G≤a且G≤b。因此直接令a=G即可。如何判断是否有解呢,只需要看是否满足gcd(G,L)==G就行了。如果满足,b=L。 3.代码: #define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #i...
分类:其他好文   时间:2015-05-20 16:24:41    阅读次数:133
Access restriction: The method createJPEGEncoder(OutputStream) from the type JPEGCodec is not access
这是myeclipse 或者 eclipse的设置问题,它默认把这些受访问限制的API设成了ERROR,只要把Windows-Preferences-Java-Complicer-Errors/Warnings里面的DeprecatedandrestrictedAPI中的Forbiddenrefer...
分类:数据库   时间:2015-05-18 14:37:33    阅读次数:210
错误代码: 1449 The user specified as a definer ('root'@'%') does not exist
1、错误描述 1 queries executed, 0 success, 1 errors, 0 warnings 查询:call insertDate() 错误代码: 1449 The user specified as a definer ('root'@'%') does not exist 执行耗时 : 0 sec 传送时间 : 0 sec 总耗时 : 0.17...
分类:其他好文   时间:2015-05-15 22:54:08    阅读次数:122
C++实现大数据乘法
1.测试环境 vs2013 windows 7 采用累乘的方式实现,然后再统一的进位,最后将其在转换为字符串,输出。 程序代码: #define _CRT_SECURE_NO_WARNINGS #include struct BigDataMutliplie { private: char data_a[100]; char data_b[100]; int len_a; int...
分类:编程语言   时间:2015-05-15 09:05:14    阅读次数:141
[iOS开发]开启/关闭编译器警告
全局开启/关闭“Build Settings” -> “Apple LLVM - Warnings”中选择需要开启/关闭的警告“Build Settings” -> “Apple LLVM - Custom Compiler Flags”中添加标识,开启标识为-W...,关闭标识为-Wno...-W...
分类:移动开发   时间:2015-05-14 13:40:38    阅读次数:152
1040条   上一页 1 ... 84 85 86 87 88 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!