码迷,mamicode.com
首页 >  
搜索关键字:comment    ( 4550个结果
C++ 播放音频文件
本篇文章利用“MCI API”来实现对音频文件的播放,只写到本人用到的最为简单的播放功能,这篇文章有对其详细的介绍,如果有需要可以去看看。     OK,下面直接上代码吧,本人用的是VS2013直接建的C++空白控制台程序,代码如下: #include "stdio.h" #include #pragma comment (lib, "winmm.lib") void main() {...
分类:编程语言   时间:2015-05-14 14:20:46    阅读次数:146
Kruscal 、 Prime Template
Kruscal Template :很裸的KruscalTemplate(求最小生成树中最长路,即最短路中最长路)//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #in...
分类:其他好文   时间:2015-05-14 13:45:47    阅读次数:114
windows下利用微软的SpeechSDK实现语音控制
语音识别是当前研究的热点,我们可以利用微软的语音识别引擎来进行二次开发。首先需要安装微软的SpeechSDK,安装完成后配置项目的包含目录和库目录,这些都不是重点,不会的可以去百度。然后就可以写代码了,码农嘛,还是看代码有感觉。 源文件 #include #include #include #include #include #include #pragma comment(li...
分类:Windows程序   时间:2015-05-14 12:10:42    阅读次数:532
MySQL之ALTER
1:删除列ALTER TABLE 【表名字】 DROP 【列名称】2:增加列ALTER TABLE 【表名字】 ADD 【列名称】 INT NOT NULL COMMENT '注释说明'3:修改列的类型信息ALTER TABLE 【表名字】 CHANGE 【列名称】【新列名称(这里可以用和原来列同....
分类:数据库   时间:2015-05-14 11:49:44    阅读次数:144
实验3
1 #pragma comment(linker, "/subsystem:console") 2 #include 3 #include 4 #include 5 #include 6 #define getpch(type) (type*)malloc(sizeof(type)...
分类:其他好文   时间:2015-05-14 11:22:57    阅读次数:104
HEVC与VP9之间的对比
在streamingmedia上看到的一篇对比HEVC与VP9的文章,挺不错。另外这边文章的几个comment也是不错的。 下面是全文。 The Great UHD Codec Debate: Google's VP9 Vs. HEVC/H.265 As of today, the great UH...
分类:其他好文   时间:2015-05-12 11:06:17    阅读次数:169
android错误之ListView设置setOnItemClickListener失效
检查一下你的listView中item的view中有没有checkBox控件,如果有这个控件,事件会被子View捕获到,ListView无法捕获处理该事件,导致失效解决方法如下: <CheckBox android:id="@+id/comment_item_user_sex" style="@style/TextTheme"...
分类:移动开发   时间:2015-05-12 00:12:33    阅读次数:133
大数素性检验
大数素性检验: 1 #include 2 #include 3 //#include "big.h" 4 5 //#pragma comment(lib, "miracl.lib") 6 using namespace std; 7 8 // Montgomery 快速幂模算...
分类:其他好文   时间:2015-05-11 19:56:00    阅读次数:192
解决IE9以下ie版本不能识别新元素的方法 添加一个js -- Shiv Solution
Thankfully, Sjoerd Visscher created the "HTML5 Enabling JavaScript", "the shiv": The code above is a comment, but versions previous to IE9 will read i...
分类:Web程序   时间:2015-05-11 14:14:42    阅读次数:156
hdu 3642 体积并
题意:求三个矩形体积的并链接:点我枚举z 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #pragma comment(linker, "/STAC...
分类:其他好文   时间:2015-05-10 11:16:11    阅读次数:107
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!