码迷,mamicode.com
首页 >  
搜索关键字:life in programming    ( 6263个结果
Learn X in Y minutes Where X=c++
http://learnxinyminutes.com/docs/c++/C++ is a systems programming language that,according to its inventor Bjarne Stroustrup, was designed tobe a “bett...
分类:编程语言   时间:2014-10-29 12:29:14    阅读次数:224
有关循环
循环用于重复执行一些程序块。for循环for循环需要预先设定好循环的次数(n),然后执行隶属于for的语句n次。基本构造是for 元素 in序列: statement举例:for a in [1,2,3,'life']: print a结果如下:>>> 123life>>> 这个循环就是每次...
分类:其他好文   时间:2014-10-28 19:27:19    阅读次数:110
Objective-C 下的 AOP 编程
在软件业,AOP为Aspect Oriented Programming的缩写,意为:面向切面编程,是函数式编程的一种衍生范型。通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术。主要的功能是:日志记录,性能统计,安全控制,事务处理,异常处理等等。主要的意图是:将日志记录,性能统计,安全控制,事务处理,异常处理等代码从业务逻辑代码中划分出来,通过对这些行为的分离,我们希望可以将它们独立到非指导业务逻辑的方法中,进而改变这些行为的时候不影响业务逻辑的代码。...
分类:其他好文   时间:2014-10-28 17:48:30    阅读次数:243
Using loops for repetitive actions
Loops are an important labor-saving device commonly used in Programming Languages. When you need the same code repeated several times, typing it all o...
分类:其他好文   时间:2014-10-28 15:23:56    阅读次数:199
hdu - 4972 - A simple dynamic programming problem(数学 + dp)
题意:NBA比赛,双方共N次进球(N 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4972 ——>>知道最后的比分差k,怎么求得比分呢?设分数较低的一方的最后分数为x,则另一方的最后分数为x + k,设双方最后总分和为S,则x  = (S - k) / 2,可得双方的比分。。所以,只要知道最后双方的总分和,就可以确定双方比分。。于是,问题转化成...
分类:其他好文   时间:2014-10-28 12:13:44    阅读次数:141
Storing text as strings
In common with other programming languages, PHP uses the term string to refer to text. When you store a string in a variable, you need to enclose it i...
分类:其他好文   时间:2014-10-28 11:46:02    阅读次数:133
Naming variables
Variables are a fundamental building block of all programming languages. In this lesson, I'll describe briefly what a variable is, explain the basic r...
分类:其他好文   时间:2014-10-28 09:21:40    阅读次数:253
ASP.NET 生命周期(原文翻译)
在网上看到这篇文章,老外写的,里面很多图片挺精致,顺带翻译过来给大家分享下,英语太次好多地方都翻不过来 ASP.NET application and page life cycle Download source code - 4.03 KB 目录 简介 两步处理法 创建ASP.NET环境 使用M...
分类:Web程序   时间:2014-10-27 19:03:24    阅读次数:398
C++学习路线
已经确定做C++后台的工作了,因此,要对C++要越来越熟悉才行,今天,在此列出学习和温习C++书籍的顺序,从而由浅入深地学习C++。1. 《C++ primer》 2. 《Accelerated C++》3. 《Programming: Principles and Practice Using C...
分类:编程语言   时间:2014-10-27 00:11:18    阅读次数:243
Python第07周:一个小游戏
本篇严重参考Julian Meyer发表的文章:Beginning Game Programming for Teens with Python 本次作业将创建一个简单的游戏叫做英雄兔ver0.1版; 游戏背景: 在这里作为英雄的兔子要保卫城堡,它必须能够移动和射击反击敌人(关于敌人我们在后续章再添...
分类:编程语言   时间:2014-10-26 11:35:49    阅读次数:258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!