
Programming
screaming
这个作者很懒,什么都没留下…
展开
-
Static Variable
学习C语言时已了解全局变量,它能够实现数据共享。如果在一个程序文件中有多个函数,在每一个函数中都可以改变全局变量的值,全局变量的值为各函数共享。但是用全局变量时安全性得不到保证,由于在各处都可以自由地修改全局变量的值,很有可能偶一失误,全局变量的值就被修改,导致程序的失败。因此在实际工作中很少使用全局变量。如果想在同类的多个对象之间实现数据共享,也不要用全局对象,可以用静态的数据成员。1、转载 2015-11-18 11:04:08 · 738 阅读 · 0 评论 -
Ansi,UTF8,Unicode,ASCII编码的区别
1. ASCII和Ansi编码 字符内码(charcter code)指的是用来代表字符的内码.读者在输入和存储文档时都要使用内码,内码分为 单字节内码 -- Single-Byte character sets (SBCS),可以支持256个字符编码. 双字节内码 -- Double-Byte character sets)(DBCS),可以支持65000个字转载 2016-01-27 23:38:37 · 273 阅读 · 0 评论 -
取模 and 求余
取模运算和求余运算的区别标签: python语言cshell脚本编程2011-10-09 16:16 29454人阅读 评论(6)收藏 举报分类: C语言(6) 版权声明:本文为博主原创文章,未经博主允许不得转载。通常情况下取模运算(mod)和求余(rem)运算被混为一谈,因为在大多数的编程语言里,都用'%'符号表转载 2016-01-27 23:39:41 · 536 阅读 · 0 评论 -
Dynamic Programming
Tutorial for Dynamic Programming Table of Contents [hide]IntroductionCold War between Systematic Recursion and Dynamic programmingProblem : Minimum Steps to OneIdentifying t转载 2016-03-06 15:48:08 · 474 阅读 · 0 评论 -
Range minimum query
Range minimum queryFrom Wikipedia, the free encyclopedia (Redirected from Range Minimum Query)Range minimum query reduced to the lowest common ancestor problem.In comput转载 2016-03-26 20:18:51 · 524 阅读 · 0 评论 -
higher-order function first-order function
Higher-order functionFrom Wikipedia, the free encyclopediaNot to be confused with Functor (category theory).This article includes a list of references, but its sources转载 2016-11-04 18:10:56 · 953 阅读 · 0 评论 -
first-class function
In computer science, a programming language is said to have first-class functions if it treats functions as first-class citizens. Specifically, this means the language supports 1) passing转载 2016-11-04 18:19:23 · 439 阅读 · 0 评论