上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页
摘要: 操作系统的基本特性包括–并发,共享,虚拟,异步 ,其中并发是最重要的特性,其他三个是在他的前提下,有的。 1.并发 concurrence 1.并行与并发 并行性是指两个或多个事件在同一时刻发生。 并发性是指两个或多个事件在同一时间间隔内发生。 2.引入进程 进程是指在系统中能独立运行并作为资源分配 阅读全文
posted @ 2017-12-05 08:29 何双新 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 一、变量种类: 外部变量 局部变量 全局变量 自动变量 寄存器变量 静态变量 1)外部变量可以在全局范围内访问,因此函数间可以通过外部变量交换数据,而不必使用参数表; 2)外部变量在程序执行期间一直存在; 3)外部变量必须定义在所有函数之外,且只能定义一次,定义后编译程序将为它分配存储单元; 4)在 阅读全文
posted @ 2017-12-04 08:23 何双新 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 取值第一个 和最后一个<tr> <td height="28" colspan="2" style="font-size:14px" scope="col"><div align="left">2.1、材料交期:<span t-field="o.line_id[0].date_planned"/> 阅读全文
posted @ 2017-12-02 20:58 何双新 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: 'date_test':fields.function(_datetime_all,type='datetime', string=u'测试'),函数:形式def _datetime_all(self, cr, uid, ids, field_name, arg, context=None): re 阅读全文
posted @ 2017-11-29 14:02 何双新 阅读(1141) 评论(0) 推荐(0) 编辑
摘要: 零、 type()函数怎么使用type()的使用方法:type(对象)type()是接收一个对象当做参考,之后反回对象的相应类型。>>>type(1)<type 'int'> #整型>>>type('iplaypython')<type 'str'> #字符串2、type()返回值是什么类型>>>t 阅读全文
posted @ 2017-11-28 10:48 何双新 阅读(179) 评论(0) 推荐(0) 编辑
摘要: def action_cancel_sale_order(self,cr,uid,ids,context=None):self.message_post(cr, uid, ids, body=u"完结", context=context) def on_change_cust_order(self, 阅读全文
posted @ 2017-11-28 09:33 何双新 阅读(211) 评论(0) 推荐(0) 编辑
摘要: https://www.virtualbox.org/wiki/Linux_Downloads 一直在报内核出错的问题,我尝试了各种方法还是无果,猜测是版本的问题,这里推荐各位安装virtualbox-5.0以上的版本比较好1.到oracle的https://www.virtualbox.org/网 阅读全文
posted @ 2017-11-20 17:12 何双新 阅读(272) 评论(0) 推荐(0) 编辑
摘要: break 和 continue之间的区别: 在1000人中,募捐100000元,当达到10万元后结束 break 跳出当前循环,即 是终止循环,continue结束本次循环,不终止循环 #include <studio.h> #define SUM 100000 int main(){ float 阅读全文
posted @ 2017-11-18 08:16 何双新 阅读(239) 评论(0) 推荐(0) 编辑
摘要: #inlude <studio.h> int main(){ int x,y; sanf("%d",&x); if (x<0) y=-1; else if(x==0)y=0; else y=1; printf("x=%d,y=%d\n",x,y); return 0; } or #include < 阅读全文
posted @ 2017-11-16 12:02 何双新 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 标准的输入输出函数: putchar(输出字符) getchar(获取输入字符) printf(格式输出) scanf(格式输入) puts(输出字符串) gets(获取输入字符串) #include <studio.h> #include<math.h> int main(){ double a, 阅读全文
posted @ 2017-11-14 23:28 何双新 阅读(294) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页