码迷,mamicode.com
首页 >  
搜索关键字:assignment operator    ( 4169个结果
Gold mining in South Africa
A quarry operator in the Libyan needed to expand their crushing and screening plant in order to cope with an increase in chip and sand demand from the...
分类:其他好文   时间:2014-04-30 20:26:27    阅读次数:646
读书笔记:C++ Primer系列(11)—— 表达式
定义: 表达式(expression)是由一个或多个操作数(operand)通过操作符(operator)组合而成。1. 操作符——除法(/)和求模(%)注意:除法和求模两种运算,操作数都必须是整型,包括:bool、char、short、int和long类型,以及对应的unsigned类型如果两个操...
分类:编程语言   时间:2014-04-29 23:30:13    阅读次数:504
Conditionals
1. Modulus operator (%)The modulus operator works on integers and yields the remainder when the first operand is divided by the second. In Python, the...
分类:其他好文   时间:2014-04-29 22:00:56    阅读次数:495
《Cracking the Coding Interview》——第18章:难题——题目1
2014-04-29 00:56题目:不用算数运算,完成加法。解法:那就位运算吧,用加法器的做法就可以了。代码: 1 // 18.1 add two numbers wihout using arithmetic operator. 2 #include 3 using namespace std....
分类:其他好文   时间:2014-04-29 14:58:53    阅读次数:383
数据库学习笔记(一)
1.在ORACLE里默认只有三个系统用户,ORACLE是通过用户登入。 SYS用户:超级管理员,权限最高,它的角色是DBA。默认密码是change_on_install。具有创建数据库的权限 SYSTEM用户:系统管理员,权限很高,它的角色是DBA operator,默认密码manager。不具有....
分类:数据库   时间:2014-04-29 11:38:45    阅读次数:516
构造与析构函数与=不能被继承,以及内部类的用法
不是所有的函数都能自动地从基类继承到派生类中的。构造函数和析构函数是用来处理对象的创建和析构的,它们只知道对在它们的特殊层次的对象做什么。所以,在整个层次中的所有的构造函数和析构函数都必须被调用,也就是说,构造函数和析构函数不能被继承。另外,operator= 也不能被继承,因为它完成类似于构造函....
分类:其他好文   时间:2014-04-28 17:31:28    阅读次数:621
Python3.2官方文档翻译--作用域和命名空间实例
6.2.1 作用域和命名空间实例 下面的实例主要用来示范如何引用不同的作用域和命名空间,关键字global和nonlocalru如何影响变量绑定。     实例运行结果是: After local assignment: test spam After nonlocal assignment: nonlocal spam After global assignment: no...
分类:编程语言   时间:2014-04-28 10:46:42    阅读次数:356
走进C++程序世界-----operator new delete 重载
在C++ 的世界里,new 和delete 是关键字,而在C的世界里相对应的malloc和free是函数,关键C++的new和delete分析,详见前面的章节,这里就不在过多的介绍了。链接。 下面来研究下关于new 和delete的重载。  1、对比使用重载和未使用重载  未使用“/*File : operator_new.cpp *Auth : sjin *Date : 2014-04...
分类:编程语言   时间:2014-04-28 10:43:41    阅读次数:406
C++中的new/delete与operator new/operator delete
new operator/delete operator就是new和delete操作符,而operator new/operator delete是函数。new operator(1)调用operator new分配足够的空间,并调用相关对象的构造函数(2)不可以被重载operator new(1)...
分类:编程语言   时间:2014-04-28 03:40:02    阅读次数:566
4169条   上一页 1 ... 415 416 417
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!