为了方便调用暂停、继续的方法。要将speech的功能写成一个类。直接附上代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Speech.Synthesis; ...
分类:
其他好文 时间:
2014-07-09 18:44:34
阅读次数:
1183
今天搞了下微软的TTS,逛了好多网页、博客,拼拼凑凑搞了点东西吧。 首先添加类库调用,系统自带的system.speech1 using System.Speech.Synthesis;然后就能调用方法了1 SpeechSynthesizer speech = new SpeechSynthesi....
分类:
其他好文 时间:
2014-07-08 23:06:16
阅读次数:
1263
在windows7中用户配置文件的默认位置是在c:\users文件夹中。我建议最好在安装完操作系统之后就将用户配置文件的默认位置改变到其他分区。Warning在视图更改注册表之前,请备份好注册表相关键值。1.将c:\user文件夹Copy到新的位置(默认情况下“Default”directory是隐藏的,请到..
Learn from:http://yige.org/p/91一般遇到这样的问题,有两个方法:1、如果有服务器权限,直接把服务器上的php.ini的配置改了,改成不输出Warning和Notice级别的报错。修改php.ini的error_reporting 配置参数值为:error_reporti...
分类:
Web程序 时间:
2014-07-06 23:07:07
阅读次数:
283
Exchange中基于direct类型无法基于多种规则进行路由。例如分析syslog日志,不仅需要基于severity(info/warning/critical/error)进行路由,还需要基于auth、cron或者kernal模式进行路由。Topic exchange可以满足这种需求。Topic...
分类:
其他好文 时间:
2014-07-06 17:35:31
阅读次数:
366
解决方案1:在project build path中先移除JRE System Library,再添加库JRE System Library,重新编译后就一切正常了。 解决方案2:Windows -> Preferences -> Java -> Compiler -> Errors/Warning...
分类:
其他好文 时间:
2014-07-06 15:01:09
阅读次数:
168
warning: shared library text segment is not shareable
error: treating warnings as errors
最近在调试一个Gsensor, 代码是从android4.2上直接移植过来的。但却一直编译不过, 纳闷了。。。
baidu不行
google 又访问不了,真是操蛋
但是终究还是找到了点有用的信息,说是编译器...
分类:
其他好文 时间:
2014-07-06 09:20:15
阅读次数:
292
环境:VS2010
微软官方解释:
Visual C++ Concepts: Building a C/C++ ProgramCompiler Warning (level 1) C4627Error Message
”: skipped when looking for precompiled header use
While searching for the location w...
分类:
其他好文 时间:
2014-07-06 08:22:37
阅读次数:
169
xfs文件系统依赖如下几个安装包:安装次序如下:1}xfsprogs-3.1.1-10.el6.x86_64.rpm2)xfsprogs-devel-3.1.1-10.el6.x86_64.rpm3)xfsdump-3.0.4-3.el6.x86_64.rpm如果安装其他两个安装包会出现如下的错误:[root@localhost~]#rpm-ivhxfsdump-3.0.4-3.el6.x86_64.rpmwarning:xfs..
分类:
其他好文 时间:
2014-07-05 23:22:16
阅读次数:
2244
root@localhostPackages]#ls|greprpmbuild居然没有这个包,奇怪了!!![root@localhostPackages]#ls|grepbuild秘密~libreoffice-report-builder-4.0.4.2-9.el6.x86_64.rpmrpm-build-4.8.0-37.el6.x86_64.rpm[root@localhostPackages]#rpm-ivhrpm-build-4.8.0-37.el6.x86_64.rp..
分类:
其他好文 时间:
2014-07-05 23:14:25
阅读次数:
1588