大约有 41,000 项符合查询结果(耗时:0.0585秒) [XML]
error MSB6006: “cmd.exe”已退出,代码为 3 - C/C++ - 清泛网 - 专注C/C++及内核技术
...台电脑上使用cmake编译后拷贝到另一台电脑上,但是cmake的路径与原电脑不一致从而导致以上错误。
解决方法:新电脑上重新使用cmake生成一次工程文件即可解决。error MSB6006 cmake
error C2440: \'initializing\' : cannot convert from \'char *\' to \'co...
...用string::const_iterator 后者使用下标操作来获取string对象中的字符。
error C2440
ifstream 线程安全读文件 - C/C++ - 清泛网 - 专注C/C++及内核技术
...std::istream逐个读取它们要快。
//以这种方式使用streambuf的代码必须由sentry对象保护。
// sentry对象执行各种任务,如线程同步和更新流状态。
std::istream::sentry se(is, true);
std::streambuf* sb = is.rdbuf();
for(;;) {
int...
解决:error while loading shared libraries: libpcre.so.1: cannot open ...
... (0x00282000)
/lib/ld-linux.so.2 (0x0010d000)
查找lib库文件的位置(可以使用命令 whereis xxx ),并把目录添加到/etc/ld.so.conf.d/libc.conf中,没有则新建这个文件。然后再运行ldconfig才可以生效。
解决:用以下shell命令解决:(用roo...
Maximum number of items that can be serialized or deserialized in an o...
...ct graph or increase the MaxItemsInObjectGraph quota.
修改如下相应的WCF配置,即可解决。
服务器端:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior">
<serviceMetadata httpGetEnabled="true"/>
<serv...
Linq 多字段排序,二次排序 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...t1 order by f1 desc ,f2 asc
这种写法里 OrderBy、ThenBy 是升序的,OrderByDescending、ThenByDescending 是降序的。Linq 排序 二次排序
css中@media screen and (-webkit-min-device-pixel-ratio:0)解析 - 更多技...
... { Selector { property: value; } }
上面写法主要是针对Webkit内核的浏览器,如Google Chrome 和 Safari浏览器。css media screen
Win7禁用休眠 减少C盘容量占用 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...容量占用减少立即生效。
另外,减少C盘容量占用常见的还有:将虚拟内存位置改到C盘以外。
设置完成后,需要重启计算机方可生效。Win7 禁用休眠 C盘容量
Git基本命令 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...
从服务器上下载项目
git clone Host:projectName.git
Host为1中的XXX,projectName为服务器上的项目名称
更新本地代码
git commit -a -m 'some information about the current version'
将代码同步到服务器
git push XXX:projectNamegit 命令
js 设置max-height属性 - 更多技术 - 清泛网 - 专注C/C++及内核技术
js 设置max-height属性obj.style.maxHeight = '100px';obj.style.maxHeight = '100px';
直接使用style.max-height会报错,同理有中横杠的属性名都要变一下。
max-height 属性
