上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 151 下一页
摘要: #include <sys/ipc.h> #include <sys/shm.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <iostream> using namespace std; struct s 阅读全文
posted @ 2017-06-28 16:21 yangykaifa 阅读(226) 评论(0) 推荐(0)
摘要: Map/Reduce用户界面 本节为用户採用框架要面对的各个环节提供了具体的描写叙述,旨在与帮助用户对实现、配置和调优进行具体的设置。然而,开发时候还是要相应着API进行相关操作。 首先我们须要了解Mapper和Reducer接口,应用通常须要提供map和reduce方法以实现他们。 接着我们须要对 阅读全文
posted @ 2017-06-28 12:03 yangykaifa 阅读(315) 评论(0) 推荐(0)
摘要: 在学习编写linux驱动程序的时候,一般都是从写一个helloworld的模块開始。可是在编译完毕后,进行模块载入的时候,有时会出现例如以下错误: insmod: error inserting 'hello.ko': -1 Invalid module format 事实上,出现这个问题的解决办法 阅读全文
posted @ 2017-06-28 10:38 yangykaifa 阅读(252) 评论(0) 推荐(0)
摘要: 课程主页在http://blog.csdn.net/sxhelijian/article/details/39152703,课程资源在云学堂“贺老师课堂”同步展示,使用的帐号请到课程主页中查看。【项目1-编辑、编译、执行第一个程序】请编程序解决以下的问题:输入两个电阻r1和r2的阻值,计算并输出它们 阅读全文
posted @ 2017-06-28 09:19 yangykaifa 阅读(192) 评论(0) 推荐(0)
摘要: 1、数据分组——max/min/avg/sum/count select avg(字段名),sum(字段名) from 表名select count(*) from 表名select 字段1,字段2 from 表名 where 字段=(select avg(字段名) from 表名) 注: SQL语 阅读全文
posted @ 2017-06-27 20:43 yangykaifa 阅读(188) 评论(0) 推荐(0)
摘要: 1、cin>>s; s能够是:string s、char s[]; 这个是ostream中的函数。遇到‘ ’(空格) , '\n'(换行),就会自己主动结束,因此假设用cin读取字符串,那么这个字符串中不能含有空格和换行。 cin由于不识别空格和换行,因此假设在输入字符串的时候,在字符開始处输入了空 阅读全文
posted @ 2017-06-27 19:47 yangykaifa 阅读(465) 评论(0) 推荐(0)
摘要: B. Amr and The Large Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Amr has got a 阅读全文
posted @ 2017-06-27 18:56 yangykaifa 阅读(250) 评论(0) 推荐(0)
摘要: Server Tomcat v8.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the serv 阅读全文
posted @ 2017-06-27 17:21 yangykaifa 阅读(2615) 评论(0) 推荐(0)
摘要: 为TextView加边框。须要在drawable建xml文件,里面设置shape来设置文本框的特殊效果。 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/a 阅读全文
posted @ 2017-06-27 16:11 yangykaifa 阅读(18798) 评论(1) 推荐(1)
摘要: 为什么要让VC与JavaScript交互? 1.有时候我们须要让自己的软件打开一个网页。来获取页面上的一些数据。这时,能够用mshtml解析HTML提取出数据。也能够向HTML文档动态写入我们准备好的JS代码,用JS代码获取HTML上的数据,然后用VC调用该JS代码取得数据。 2.有时候我们须要让自 阅读全文
posted @ 2017-06-27 15:02 yangykaifa 阅读(1014) 评论(0) 推荐(0)
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 151 下一页