E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Practical
6.087
Practical
Programming in C, lec11
Dynamicmemoryallocation,mallocandvalgrind,garbagecollection.Review:CstandardlibraryStdio.h•I/Ofunctions:fopen(),freopen(),fflush(),remove(),rename(),tmpfile(),tmpnam(),fread(),fwrite(),fseek(),ftell()
jubincn
·
2011-11-01 22:00
programming
6.087
Practical
Programming in C, lec10
Cstandardlibrary:stdio.h,ctype.h,stdlib.h,assert.h,stdarg.h,time.h:Fileoperationsintremove(constchar∗filename)•removesthefilefromthefilesystem.•retrnnon-zeroonerror.intrename(constchar∗oldname,constchar∗
jubincn
·
2011-10-31 10:00
c
function
Stream
File
generator
DST
6.087
Practical
Programming in C, lec10
C standard library: stdio.h,ctype.h, stdlib.h, assert.h, stdarg.h, time.h <stdio.h>: File operations int remove(const char∗ filename) • removes the file from the filesystem. • retrn non-zero o
jubincn
·
2011-10-31 10:00
programming
6.087
Practical
Programming in C, lec9
External libraries. B-trees,priority queues. Symbols and libraries • External libraries provide a wealth of functionality –example: C standard library • Programs access libraries’ functions and var
jubincn
·
2011-10-29 23:00
programming
6.087
Practical
Programming in C, lec9
Externallibraries.B-trees,priorityqueues.Symbolsandlibraries•Externallibrariesprovideawealthoffunctionality–example:Cstandardlibrary•Programsaccesslibraries’functionsandvariablesviaidentifiersknownassy
jubincn
·
2011-10-29 23:00
c
tree
gcc
search
library
variables
Practical
SOA for the Solution Architect
MostITpractitionersoftenlosesightofthecoreprinciplesofService-OrientedArchitecture(SOA).ThisarticleanditsextendedwhitepaperarearetellingoftheSOAphilosophyinaneasilyunderstandableandpracticallyapplicab
chinese.darren
·
2011-10-28 23:00
设计
SOA
企业架构
最佳实践
6.087
Practical
Programming in C, lec8
Voidandfunctionpointers.Hashtables.Voidpointers•Cdoesnotallowustodeclareandusevoidvariables.•voidcanbeusedonlyasreturntypeorparameterofafunction.•Callowsvoidpointers•Question:Whataresomescenarioswhere
jubincn
·
2011-10-28 14:00
c
function
Arrays
wrapper
structure
Pointers
6.087
Practical
Programming in C, lec8
Voidandfunctionpointers.Hashtables.Voidpointers•Cdoesnotallowustodeclareandusevoidvariables.•voidcanbeusedonlyasreturntypeorparameterofafunction.•Callowsvoidpointers•Question:Whataresomescenarioswhere
jubincn
·
2011-10-28 14:00
programming
6.087
Practical
Programming in C, lec7
<style type="text/css"> <!-- @page {margin:0.79in} p {margin-bottom:0.08in} h3 {margin-bottom:0.08in} h3.western {font-family:"Arial",sans-serif} h3.cjk {font-family:"
jubincn
·
2011-10-27 09:00
programming
6.087
Practical
Programming in C, lec7
Pointerstopointers,pointerandstringarrays,multidimensionalarrays.Stacksandqueues.Pointerpointers•Whatdoesthisfunctiondo?voidswap(int∗∗a,int∗∗b){int∗temp=∗a;∗a=∗b;∗b=temp;}•Howdoesitcomparetothefamilia
jubincn
·
2011-10-27 09:00
c
String
Arrays
sorting
Numbers
Pointers
6.087
Practical
Programming in C, lec6
User-defineddatatypes,structs,unions,bitfields.Memoryallocation.Linkedlists,binarytrees.StructureDefinition:Astructureisacollectionofrelatedvariables(ofpossiblydifferenttypes)groupedtogetherunderasingl
jubincn
·
2011-10-26 11:00
数据结构
c
struct
Arrays
structure
Pointers
6.087
Practical
Programming in C, lec6
User-defined datatypes, structs, unions, bitfields. Memory allocation. Linked lists, binary trees. Structure Definition: A structure is a collection of related variables (ofpossibly different types) g
jubincn
·
2011-10-26 11:00
programming
6.087
Practical
Programming in C, lec5: Pointers and memory addressing
Pointersandmemoryaddressing.Arraysandpointerarithmetic.Strings. Searchingandsortingalgorithms.Pointersandaddresses•Pointer:memoryaddressofavariable•Addresscanbeusedtoaccess/modifyavariablefromanywhere
jubincn
·
2011-10-22 23:00
c
Arrays
Primitive
sorting
variables
Pointers
6.087
Practical
Programming in C, lec5
Pointers and memory addressing. Arrays and pointer arithmetic. Strings. Searching and sorting algorithms. Pointers and addresses • Pointer: memory address of a variable • Address can be used to ac
jubincn
·
2011-10-22 23:00
programming
6.087
Practical
Programming in C, lec4:More control flow. Input and output.
Review:Blocks•Blockscombinemultiplestatementsintoasingleunit.•Canbeusedwhenasinglestatementisexpected.•Createsalocalscope(variablesdeclaredinsidearelocaltotheblock).•Blockscanbenested.{intx=0;{inty=0;
jubincn
·
2011-10-21 09:00
c
Stream
File
input
character
Pointers
6.087
Practical
Programming in C, lec4:More control flow. Input and output.
Review: Blocks • Blocks combine multiple statements into a single unit. • Can be used when a single statement is expected. • Creates a local scope (variables declared inside are local tothe block
jubincn
·
2011-10-21 09:00
programming
Perl 与 Python 之间的一些异同
http://www.ibm.com/developerworks/cn/linux/l-cn-perl2python/index.html Perl 是
Practical
Extraction
christen
·
2011-10-21 09:00
python
perl
6.087
Practical
Programming in C, lec3: Control flow. Functions and modular programming. Variable s
声明:这个OCW类的Blog为我自己的一些看法,基本没有进行考证,因为我的目的是进行相关思考,未来学习编译原理的时候再看看自己的想法是否正确。 Blocks and compound statements • A simple statement ends in asemicolon: z = foo(x+y); • Consider the multiple statements:
jubincn
·
2011-10-19 23:00
programming
6.087
Practical
Programming in C, lec3: Control flow. Functions and modular programming. Variable s
声明:这个OCW类的Blog为我自己的一些看法,基本没有进行考证,因为我的目的是进行相关思考,未来学习编译原理的时候再看看自己的想法是否正确。Blocksandcompoundstatements•Asimplestatementendsinasemicolon:z=foo(x+y);•Considerthemultiplestatements:temp=x+y;z=foo(temp);•Curl
jubincn
·
2011-10-19 23:00
c
function
header
interface
initialization
variables
6.087
Practical
Programming in C, lec2: Variables and datatypes, operators.
Review:CProgramminglanguage•Cisafast,small,general-purpose,platformindependentprogramminglanguage.C中使用简单的数据类型(本质上全部都是数字)和有限的运算符(屈指可数)来构建其基本单元,使用栈来自动控制计算顺序,因此小而快。数字的表示和栈结构是所有计算机共有的,因此可以实现跨平台。总之,C和图灵机的计
jubincn
·
2011-10-18 23:00
c
语言
character
fortran
variables
Constants
6.087
Practical
Programming in C, lec2: Variables and datatypes, operators.
Review: C Programming language • C is a fast,small,general-purpose,platform independent programming language. C中使用简单的数据类型(本质上全部都是数字)和有限的运算符(屈指可数)来构建其基本单元,使用栈来自动控制计算顺序,因此小而快。数字的表示和栈结构是所有计算机共有的,因此可以实
jubincn
·
2011-10-18 23:00
programming
lisp初体验-
Practical
Common Lisp笔记-12.数字、字符、字符串
这一章节相当的无趣啊,而且对专业性有一定要求(数学)。来回把读了几遍,仍然感到晦涩。本想跳过,也罢,语言教学带些这种东东,似乎才显的专业啊。那就让我们开始吧~ 本章要讲的是lisp内建的三种"原子型标准格式":数字,字符,字符串。严格来说,字符串应该算是字符的组合体,不过鉴于其特殊性(估计没有什么现代语言不默认支持字符串的吧),也一并算在里面了。  
iyuan
·
2011-10-17 16:00
common lisp
6.087
Practical
Programming in C, Assign1(not complete)
Problem 1.1 (a) What do curly braces denote in C?Why does it make sense to use curly braces to surround the body of a function? 我的答案: 我认为C中{}的作用是标志一个执行段,执行段是C中执行单元,使用{}标志。如果仅仅是一条语句,那么可以省略{}。 每个fu
jubincn
·
2011-10-16 21:00
programming
6.087
Practical
Programming in C, Assign1(not complete)
Problem1.1(a)WhatdocurlybracesdenoteinC?Whydoesitmakesensetousecurlybracestosurroundthebodyofafunction?我的答案:我认为C中{}的作用是标志一个执行段,执行段是C中执行单元,使用{}标志。如果仅仅是一条语句,那么可以省略{}。每个function都是一个执行单元,因此使用{}是很自然的。(b)De
jubincn
·
2011-10-16 21:00
c
function
作业
Practical
Common Lisp [个人翻译版]
1. 引言 ********** Lisp?!啥玩意? ========== 如果你也认为简洁优雅的代码是你的追求,那Lisp就是你的最佳选择。 使用Lisp,你可以写出比其他语言更简洁的代码,同时多快好省地完成工作,改善你的睡眠和性生活。 这似乎有点耸人听闻,你仿佛看到了在三万米高空上漂浮的奶牛——我能证
huangz
·
2011-10-16 00:00
common lisp
lisp
practical
_clojure chapter3 控制程序流(未完)
函数 作为函数式编程语言,函数是每个Clojure程序的开始和结束。Clojure的编程模型就象一棵树,每个函数又衍生出对其他数个函数的调用。 理解Clojure程序其实就是理解程序中包含的函数以及调用关系。胡乱地使用函数会使你的Clojure程序极度纠结。深思熟虑地使用函数会使你的代码高效、优雅
songry
·
2011-10-15 16:00
Practical
practical
_clojure chapter2 clojure的环境
Clojure的"Hello,world" 在配置了java 环境的情况下,在命令行启动Clojure REPL的命令是: java -jar clojure-1.0.0.jar 例子如下: D:\developTools\clojure-1.3.0>java -ja
songry
·
2011-10-13 15:00
Practical
practical
_clojure chapter1 clojure的方式
什么是clojure?为什么有人需要学习它?乍一看,clojure可能是现代程序语言中最不成功的,因为它太新而且很复杂。最糟的是,对于不熟悉lisp系列语言的人来说,这是一门奇怪的,充斥着圆括号、方括号的令人疑惑的的语言。 (中略) 函数式编程 clojure的关键特性在于它是一门函数式语言,意即函
songry
·
2011-10-13 14:00
Practical
6.087
Practical
Programming in C, lec1:Introduction. Writing, compiling, and debugging C programs.
前言:最近通过MIT OCW的6.087Practial Programming in C来复习C语言,对照了下6.087的课程设置与C Programming Language的章节结构,感觉两者的顺序差不多,但6.087为了使学习曲线更平滑,将一些比较难的内容分为两个或多个章节,并将难点放到后面,从而使学习过程更为轻松。这里是6.087的链接:http://ocw.mit.edu/cou
jubincn
·
2011-10-12 23:00
programming
6.087
Practical
Programming in C, lec1:Introduction. Writing, compiling, and debugging C programs.
前言:最近通过MITOCW的6.087 PractialProgramminginC来复习C语言,对照了下6.087的课程设置与CProgrammingLanguage的章节结构,感觉两者的顺序差不多,但6.087为了使学习曲线更平滑,将一些比较难的内容分为两个或多个章节,并将难点放到后面,从而使学习过程更为轻松。这里是6.087的链接:http://ocw.mit.edu/courses/ele
jubincn
·
2011-10-12 23:00
Practical
Common Lisp笔记
阅读更多断断续续看了很久了,也没看完的书。现在据说要出中文版了,打算直接买本中文版的看看。emacsmuse发布的版本:pcl.zip环境搭建尝试了多种commonlisp的实现,在windows下使用Lispbox时并不能使用slime。而gnucommonlisp和ansicommonlisp好像也不能在windows中与emacs23和slime一起工作。结果发现只有gnuclisp的win
Jamsa
·
2011-10-10 16:00
common
lisp
lisp
Practical
Common Lisp笔记
断断续续看了很久了,也没看完的书。现在据说要出中文版了,打算直接买本中文版的看看。emacsmuse发布的版本:pcl.zip 环境搭建尝试了多种commonlisp的实现,在windows下使用Lispbox时并不能使用slime。而gnucommonlisp和ansicommonlisp好像也不能在windows中与emacs23和slime一起工作。结果发现只有gnuclisp的win32版
Jamsa
·
2011-10-10 16:00
lisp
lisp
common
传值与引用
JAVA中的传值与传引用首先,推荐对Java有一定理解的同仁一本书《
Practical
Java》。在《
Practical
Java》中也有一个章节介绍Java中关于传值和传引用的问题,堪称经典。
HarderXin
·
2011-09-28 17:00
传值与引用
JAVA中的传值与传引用首先,推荐对Java有一定理解的同仁一本书《
Practical
Java》。在《
Practical
Java》中也有一个章节介绍Java中关于传值和传引用的问题,堪称经典。
HarderXin
·
2011-09-23 09:00
java
apple
工作
String
Integer
character
lisp初体验-
Practical
Common Lisp笔记-11.单元测试
原章节名直译应该是:“建立单元测试框架”,感觉有些唬人,为了不至于霸气侧漏,就借用了下多数编程语言教程中多少都会提笔带过的“单元测试”了。 其实作为初级教程,是否有必要在单元测试上过多着墨,就要见仁见智了。个人看法是:理想很丰满,现实很骨感。呃。。。哪来那么多感慨,那就开始吧。(为什么要单元测试可以看 这里) 先举个测试的例子: (defun test-+ () (a
iyuan
·
2011-09-16 15:00
编程
单元测试
反向神经网络的缺点
However,
practical
applicationsaredifficulttobesatisfiedbecauseoftheproblems ofslowlearningandthelikelihoodofbeingtrappedintoalocal
QIBAOYUAN
·
2011-09-16 11:00
网络
NetWork
《
Practical
Common Lisp 中文版》样章
(注:我的译作《PracticalCommonLisp 中文版》将由人民邮电出版社图灵公司出版,不过由于种种原因目前该书还在紧张的编辑之中,最后确定的出版时间为10月底之前。由于拖得比较久,个人感到愧对读者,因此经过和出版社的协商,现公开其中的一章供读者预览。内容直接来自未经编辑的原始译稿,因此本文和最后出版的内容将在细节上有所出入,还请读者见谅)第五章函数(英文原版)有了语法和语义规则以后,所有
冰河 夜深
·
2011-08-08 17:00
lisp
common
Practical
敏捷软件测试的七个关键成功要素
资深敏捷专家Lisa Crispin在最近的讲座和参与合著的《AgileTesting– A
Practical
Guide for Testers and Agile Teams》中分享了敏捷软件测试的七个关键成功要素
xitong
·
2011-08-02 09:00
软件测试
敏捷软件测试的七个关键成功要素
资深敏捷专家Lisa Crispin在最近的讲座和参与合著的《AgileTesting– A
Practical
Guide for Testers and Agile Teams》中分享了敏捷软件测试的七个关键成功要素
xitong
·
2011-08-02 09:00
软件测试
敏捷软件测试的七个关键成功要素
资深敏捷专家Lisa Crispin在最近的讲座和参与合著的《AgileTesting– A
Practical
Guide for Testers and Agile Teams》中分享了敏捷软件测试的七个关键成功要素
yanghuidang
·
2011-08-02 09:00
软件测试
lisp初体验-
Practical
Common Lisp笔记-10.自定义宏
一般来说,凡是带有自定义的东东都会显得很专业,不过在lisp中,这才算刚刚开始。至于你信不信,反正我是信了。就让我们开始吧。 说来有些不可理喻,宏之所以难以理解,是因为它在lisp中太过自然(天生的阿),运用起来毫不费力。以至于很容易被误解为一个有意思的函数。事实上,虽然宏真的很像函数,但仅仅是像而已。他们完全不在一个层面上,抽象的层次也大不相同。 一旦理解了宏和函数的区别,恭喜你,晋
iyuan
·
2011-08-01 16:00
lisp
lisp初体验-
Practical
Common Lisp笔记-9.标准宏
一直在拖延,玩Lisp,终究绕不开这道坎啊。既然如此,抖擞下精神,开始了。 作者首先又是抱怨、比较了一番lisp的宏与其他语言的区别。从形式上来讲,其实所谓的标准宏就和c,java之类的类库一样,是事先已经被完成、验证过的东东封装在编译/虚拟环境 中供coder使用(省的重复造轮子)。当然,在lisp中,宏可不单单是如此简单,不过~管他呢(拜托,这只是初学者教程!)在这一章节主要给大伙介绍几
iyuan
·
2011-07-19 16:00
lisp
lisp初体验-
Practical
Common Lisp笔记-8.变量
原本以为这章很好理解,结果..杯具了。 在lisp中,变量分为两种:词汇变量(lexical),动态变量(dynamic)。#感觉很别扭,估计我翻坏了,虽然与其他语言做了类比,相当于:局部变量和全局变量。可是看了后面,似乎不是这么个回事啊。如果有资深lisper能够给出这两个变量的专业名称(中文),那真是不胜感激了。目前,好吧,就姑且从字面上来称呼这两种变量吧。 作为变量的基本要素之一
iyuan
·
2011-07-08 20:00
编程
lisp
【转】Dom4j中自带的教程
【转】Dom4j中自带的教程 This document provides a
practical
introduction to dom4j.
Darren_jun
·
2011-07-05 19:00
dom4j
xml解析
Dom4j教程
lisp初体验-
Practical
Common Lisp笔记-7.函数
定义一个新的函数 在Lisp中,通过宏defun以下面的结构来定义函数: (defun name (parameter*) "Optional documentation string." body-form*) 这里值得注意的是函数的命名规则(lisp的函数名支持短横等字符):如果函数的目的是由a转为b,那么可以命名成:a->b这个形式,不
iyuan
·
2011-06-30 18:00
common lisp
practical
Perl tools: be the browser
Inthisarticlewe'regoingtofocusonusingjustthemoduleWWW::Mechanizeandthemodulesinitsorbit.Thereareothermodulesoutthereforperformingtasksliketheoneswe'regoingtoexplore,butI'venotfoundonetodatethatI'velik
zeeo
·
2011-06-24 16:52
职场
perl
休闲
practical
Perl tools: be the browser
Inthisarticlewe'regoingtofocusonusingjustthemoduleWWW::Mechanizeandthemodulesinitsorbit.Thereareothermodulesoutthereforperformingtasksliketheoneswe'regoingtoexplore,butI'venotfoundonetodatethatI'velik
zeeo
·
2011-06-24 16:52
职场
休闲
perl
lisp初体验-
Practical
Common Lisp笔记-6.语法及语义
作为一本语言入门类书籍,终于要进入正题了!(不容易啊) 为什么满屏满目的括号? 这是一个问题么?对于初涉Lisp的人而言,是的。作者的解释就是不解释,熟悉了,你就懂了(好吧,其实是"详见后章")。总而言之,既然选择了,你就只能享受了(不许想歪!)。 与其他语言不同的是,lisp的编译器中有两个角色:reader和evaluator。reader负责把代码整成eva
iyuan
·
2011-06-22 19:00
编程
lisp
lisp初体验-
Practical
Common Lisp笔记-5.迷你数据库-下
注意:如果你是初学者,甚至都没有其他任何语言基础,那么此篇,即<迷你数据库下>,可以略过,作为前两篇(上、中)的总结、优化,固然很强大,但个人感觉极有可能把初学者带到沟里去,这里涉及到一些较深的东西,并且作者没有给出详解(一如既往的"后面篇章会有的")。so,阅读需谨慎,此篇可跳过~ 好吧,如果上面的红字没有能够阻止你的话,就让我们开始。 让你的代码
iyuan
·
2011-06-15 17:00
python
REST
lisp
lisp初体验-
Practical
Common Lisp笔记-4.迷你数据库-中
额,先简单申明下,由于本站code不支持lisp,而原先的代码着实不利于排版(太丑了),这里凡是代码部分都用python的格式,凡是输出部分都用java的格式~ 作为一个数据库,纵然再mini,也得要有最基本的功能:增删改查,本篇就逐一加上。 查 作为lisp代码,如果查找能类似这样: (select :artist "Dixie Chicks") 还
iyuan
·
2011-06-13 19:00
C++
c
python
C#
lisp
上一页
11
12
13
14
15
16
17
18
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他