自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Just Do IT

一些想法的记录

  • 博客(23)
  • 资源 (21)
  • 收藏
  • 关注

转载 如何在 Ubuntu 中管理和使用逻辑卷管理LVM

# 如何在 Ubuntu 中管理和使用逻辑卷管理 LVM![img](https://www.linuxidc.com/upload/2015_08/150805090751711.png)在我们之前的文章中,我们介绍了[什么是 LVM 以及能用 LVM 做什么](https://www.linuxidc.com/Linux/2015-08/121096.htm),今天我们会给你介绍一些 LVM 的主要管理工具,使得你在设置和扩展安装时更游刃有余。正如之前所述,LVM 是介于你的操作系统..

2022-05-06 16:30:40 3014

原创 使用STL copy 算法输出vector中的elements

<br />主要用到了迭代器,只有一句话,记录一下。<br />std::vector<std::string> strs;<br />std::copy(strs.begin(),strs.end(),std::ostream_iterator<std::string>(std::cout, "/t"));

2010-11-01 11:42:00 706

转载 C 语言的谜题

<br />我们可以看到很多C语言相关的一些东西。比如《语言的歧义》主要告诉了大家C语言中你意想不到的错误以及一些歧义上的东西。而《谁说C语言很简单》则通过一些看似你从来不可能写出的代码来告诉大家C语言并不是一件容易事情。《6个变态的hello world》和《如何弄乱C的源代码》则以一种极端的方式告诉大家,不要以为咱们自己写不出混乱的代码,每个程序员其实都有把代码搞得一团乱的潜质。通过这些文章,相信你对编程或是你觉得很简单的C语言有了一些了解。是的,很不容易吧,以前是不是低估了编程和C语言?今天是否我们又

2010-09-20 16:39:00 407

原创 通过服务器调试目标机Vxworks程序的设置方法

<br /> <br />由于工作需要,通过本机连接host主机,调试target目标机上的Vxworks代码。<br />tornado2.2设置如下。<br />1.配置target server,并在Core File and Symbols的属性中将Synchronize Target/Host Symbol Tables选上。<br />2.配置tools->options->tornado registry->remote registry 为服务器(host)的网卡的IP地址。(这一步非常重要

2010-07-14 15:48:00 1260

原创 设置thunderbird回复邮件在上方的方法

<br />默认thunderbird是将回复加在回复邮件的后面,这对习惯了Outlook下邮件回复默认书写位置的人来说不太习惯,可以修改:首选项->高级->常规->配置编辑器->mail.identity.default.reply_on_top 这一项由默认的0改为1即可。

2010-06-08 14:22:00 2852

原创 postgre 表被加锁无法解锁问题

 最近遇到一个很郁闷的问题,在运行npgsql时使用了它的分布式事务(System.Transaction不是DbTransaction),结果发现一旦程序异常后就无法继续对相应的表进行操作了。调查了一下原来postgre对这个表加了锁,但是无法释放,重启postgre的服务也无济于事,最后还是在浩瀚的文档中发现了一个办法来回滚事务,就OK啦。具体做法如下:1.查询锁:postgr

2010-05-15 10:49:00 3429

原创 Nhibernate kick start!

 很早就听说了Hibernate的大名没想到.net 的爱好者们早已把他移植到.net framework下了,最近使用了一下,和在java平台下的感觉一样,但是由于资料不足在配置时还是遇到一些麻烦,还是把自己的心得写下啦和大家分享一下! Hardware:cpu intel E6500memory 2Ghhd wd500gvideo Gt210 Softwar

2010-05-15 08:58:00 1273 2

原创 在Postgre中通过查询数据字典获得表结构

在Postgre中通常需要使用sql来查询一个表的表结构,postgre也提供了数据字典保存了表和字段的信息。可以用如下的语句查询表的结构。SELECT col_description(a.attrelid,a.attnum) as comment,format_type(a.atttypid,a.atttypmod) as type,a.attname as name, a.attnotnu

2010-05-09 16:38:00 3228 1

原创 VS2010 Beta2 安装 提示非法product key问题解决

我在Windows7环境下先安装过VS2010 RTM版,但是后来想更新到Beta2的时候总是提示:"You have entered an invalid product key for this product.  The 25 character product key may be found on the media case or obtained onlined at htt

2010-05-08 23:57:00 2654

原创 GOOD

 

2007-12-14 21:47:00 538

翻译 WSIF应用(翻译的)

Applying the Web services invocation frameworkCalling services independent of protocols独立于协议的服务调用Paul Fremantle ([email protected])Senior Software Engineer, IBM Application and Integration Middleware01 J

2005-04-03 20:45:00 1956

原创 心存希望!

      古希腊著名诗人贺希俄得(Hesiodos,公元前8世纪)的长诗《神谱》中说,潘多拉乃是世界上第一个女人,她是赫法伊斯多神用泥土和水捏成形,然后被赋予生命的。他的出现不过是为上帝复仇服务的罢了。爱比墨代不听其兄弟普洛美太的劝说,娶了潘多拉为妻。然后潘多拉打开了上帝交付给她的魔盒,里面的人间罪恶便顿时飞满世界,只有“希望”尚存!       上帝让人间充满了罪恶,但是至少他为我们留下了希望

2004-12-09 22:32:00 935

原创 二十一条人际准则

 1、不相信那些动辄汇报谁谁谁在骂你的人。2、不相信那些一见了你就夸奖歌颂个没完没了的人。3、不讨厌那些曾经公开地与你争论、批评你的人。4、绝对不布置安排一些人去搜集旁人背后说了你一些什么。5、绝对不在公开场合,尤其不能在自己的权力影响范围内,即利用自己的权力或者影响召集一些人大谈旁人说了你什么,那样做等于拆自己的台。6、不回答任何对于你个人的人身攻击,只讨论不仅对于你和你

2004-11-14 13:42:00 988

原创 从石器时代到硅器时代

从石器时代到硅器时代                          ——从半导体工业的发展看近代科学发展 人类学家说,你我同属现代直立人,大概20万年前由智人变过来。历史学家将这20万年分为石器时代、铜器时代和铁器时代。社会学家宣称现在到了信息时代。仔细想一下,还是历史学家深沉。人类的物质文明归根到底是器具的制作和使用,以材料作为文明阶段的标识再简明不过了。信息时代的特征性材料是硅

2004-10-31 16:34:00 4626 1

原创 10年编程无师自通

作者:Peter Norvig 翻译:郭晓刚([email protected]) 最后修订日期:2004-3-19 本中文译本得到了Peter Norvig的许可。为什么每个人都急不可耐? 走进任何一家书店,你会看见《Teach Yourself Java in 7 Days》(7天Java无师自通) 的旁边是一长排看不到尽头的类似书籍,它们要教会你Visual Basic、Windows

2004-09-27 11:31:00 1552 1

原创 关于如何jar的一点总结(转至JR论坛)

以org目录下的Test.java(package test 另附源程序)为例:1.打开命令行,使当前目录为org,然后编译Test.java文件:javac -d . Test.java  结果会在org下生成一个test文件夹。3.在org目录下新建一个文本文件,内容如下:Manifest-Version: 1.0Created-By: 1.4.2 (Sun Microsystems Inc.

2004-07-31 12:43:00 1260

原创 J2ee学习流程[转]

J2ee学习流程在这里我谈谈我在学习j2ee流程,并谈到在此过程中领会的经验和教训。以便后来者少走弯路。Java发展到现在,按应用来分主要分为三大块:J2SE,J2ME和J2EE。这三块相互补充,应用范围不同。J2SE就是Java2的标准版,主要用于桌面应用软件的编程;J2ME主要应用于嵌入是系统开发,如手机和PDA的编程;J2EE是Java2的企业版,主要用于分布式的网络程序的开发,如电子商务网

2004-07-12 17:57:00 1550

原创 Java 程序编码规范

http://www-900.ibm.com/developerWorks/cn/java/java_standard/index.shtml 李小敏www.yway.com 软件工程师2000年12月 内容: 命名惯例 Java文件样式 代码编写格式 程序编写 编程技巧 Swing 调试 性能 可移植性 参考资料 作者简介 所有的程序开发手册都包含了各种

2004-07-08 15:38:00 861

原创 Sizeof for Java

Q:java中有和C中的sizeof()相似的操作符吗?   A:简单的说java没有提供任何和C中sizeof()类似的操作符。但是我们可以分析一下为什么java程序常常需要他.     一个C程序员需要自己定义数据结构、分配内存,而sizeof()是知道内存块大小从而分配内存所必需的。另外,C内存分配器比如malloc()基本上不做任何事情,直到对象初始化时: programmer must

2004-07-05 22:44:00 1171

原创 有关java虚拟机的文档(英文)

Java HotSpot Client VM The Java HotSpot Client VM is the default virtual machine of the Java 2 SDK and Java 2 Runtime Environment. As its name implies, it is tuned for best performance when running

2004-07-02 17:51:00 1178

原创 abstract类的定义及final的用法!

abstract 以下三种情况要申明abstrat C explicitly contains a declaration of an abstract method.      类C中的确包含一个已申明为虚函数的函数。 Any of Cs superclasses declares an abstract method that has not been implemented  in

2004-06-30 21:31:00 3119

原创 Java常见问题集锦(来自Sun中国官方站)

如何设置Java 2(JDK1.2)的环境变量?答:Java 2安装后,需要设置PATH和JAVA_HOME环境变量.与JDK1.1不同的是:设置好JAVA_HOME环境变量后,JVM将自动搜索系统类库以及用户的当前路径.Java 2环境变量的设置如下例所示:Solaris平台: setenv JAVA_HOME Java2的安装路径setenv PATH $JAVA_HOME/bin:${PAT

2004-06-29 21:46:00 1296

原创 开始学习jdk

今天是学习java第二天,昨天设置jdk用了一天才搞定faint!原因很简单没有把  当前目录加进去——一个小点而已“.”! 还有jdk用中文输入法打出来居然是“假大空”!呵呵

2004-06-29 18:57:00 1086 1

基于最小能量的图像分割方法

基于最小能量的图像分割方法,介绍了一种基于图像分割方法,简单有效。

2018-05-28

Neural Networks and Deep Learning神经网络与深度学习(中文版)

⼀个以原理为导向的⽅法,本书⼀个坚定的信念,是让读者更好地去深刻理解神经⽹络和深度学习,⽽不是像⼀张冗⻓的洗⾐单⼀样模糊地列出⼀堆想法。如果你很好理解了核⼼理念,你就可以很快地理解其他新的推论。⽤编程语⾔对⽐,把这理解为掌握⼀种新语⾔的核⼼语法、库和数据结构。你可能仍然只是 “知道” 整个编程语⾔的⼀⼩部分—许多编程语⾔有巨⼤的标准库—但新的库和数据结构可以很快且容易被理解。这就意味着这本书的重点不是作为⼀个如何使⽤⼀些特定神经⽹络库的教程。如果你主要想围绕着某个程序库的⽅式去学习,那不要读这本书!找到你想学习的程序库,并通过教程和⽂档来完成。注意这点。虽然这也许能很快解决你的问题,但是,如果你想理解神经⽹络中究竟发⽣了什么,如果你想要了解今后⼏年都不会过时的原理,那么只是学习些热⻔的程序库是不够的。你需要领悟让神经⽹络⼯作的原理。技术来来去去,但原理是永恒的。 ⼀个动⼿实践的⽅法 我们将通过攻克⼀个具体的问题:教会计算机识别⼿写数字的问题,来学习神经⽹络和深度学习的核⼼理论。这个问题⽤常规的⽅法来编程解决是⾮常困难的。然⽽,正如我们所看到的,它可以很好地利⽤⼀个简单的神经⽹络来解决,只需⼏⼗⾏代码,没有特别的库。更多的是,我们会通过多次迭代来改进程序,逐步融⼊神经⽹络和深度学习的核⼼思想。 这⼀动⼿的⽅法意味着你需要⼀些编程经验来阅读这本书。但你不必是⼀个专业的程序员。我⽤ Python(2.7 版)写了代码,即使你不是⽤ Python 编程,努⼒⼀下也应该很容易理解。通vii过这本书,我们将开发⼀个⼩的神经⽹络库,它可以⽤来实验和建⽴理解。所有的代码都可以在这⾥下载。⼀旦你完成了这本书,或者你读它,你可以轻松地学会⼀个功能更加完善的神经⽹络库⽤于⽣产

2018-05-23

跟我一起写makefile

跟我一起写 Makefile 作者:陈皓 第一部分、概述...............................................................................................................................6 第二部分、关于程序的编译和链接...............................................................................................6 第三部分、Makefile 介绍............................................................................................................7 一、Makefile的规则..............................................................................................................7 二、一个示例...........................................................................................................................8 三、make是如何工作的........................................................................................................9 四、makefile中使用变量....................................................................................................10 五、让make自动推导..........................................................................................................11 六、另类风格的makefile....................................................................................................12 七、清空目标文件的规则.....................................................................................................13 第四部分、Makefile 总述..........................................................................................................13 一、Makefile里有什么?....................................................................................................13 1、显式规则。..............................................................................................................14 2、隐晦规则。..............................................................................................................14 3、变量的定义。..........................................................................................................14 4、文件指示。..............................................................................................................14 5、注释。......................................................................................................................14 二、Makefile的文件名........................................................................................................15 三、引用其它的Makefile....................................................................................................15 四、环境变量 MAKEFILES................................................................................................16 五、make的工作方式..........................................................................................................16 第五部分、书写规则.....................................................................................................................17 一、规则举例.........................................................................................................................17 二、规则的语法.....................................................................................................................17 三、在规则中使用通配符.....................................................................................................18 四、文件搜寻.........................................................................................................................19 五、伪目标.............................................................................................................................20 六、多目标.............................................................................................................................22 七、静态模式.........................................................................................................................22 八、自动生成依赖性.............................................................................................................24 第六部分书写命令.......................................................................................................................25 一、显示命令.........................................................................................................................26 二、命令执行.........................................................................................................................26 三、命令出错.........................................................................................................................27 四、嵌套执行make..............................................................................................................28 五、定义命令包.....................................................................................................................30 第七部分使用变量.......................................................................................................................30 一、变量的基础.....................................................................................................................31 二、变量中的变量.................................................................................................................32 三、变量高级用法.................................................................................................................34 四、追加变量值.....................................................................................................................37 五、override 指示符..........................................................................................................37 六、多行变量.........................................................................................................................38 七、环境变量.........................................................................................................................38 八、目标变量.........................................................................................................................39 九、模式变量.........................................................................................................................40 第八部分使用条件判断...............................................................................................................40 一、示例.................................................................................................................................40 二、语法.................................................................................................................................42 第九部分使用函数.......................................................................................................................43 一、函数的调用语法.............................................................................................................44 二、字符串处理函数.............................................................................................................44 1、subst.......................................................................................................................44 2、patsubst.................................................................................................................45 3、strip.........................................................................................................................45 4、findstring...............................................................................................................46 5、filter.........................................................................................................................46 6、filter-out.................................................................................................................46 7、sort..........................................................................................................................47 8、word........................................................................................................................47 9、wordlist..................................................................................................................47 10、words....................................................................................................................47 11、firstword..............................................................................................................48 12、字符串函数实例....................................................................................................48 三、文件名操作函数.............................................................................................................48 1、dir.............................................................................................................................48 2、notdir......................................................................................................................48 3、suffix.......................................................................................................................49 4、basename..............................................................................................................49 5、addsuffix................................................................................................................49 6、addprefix...............................................................................................................49 7、join...........................................................................................................................50 四、foreach 函数................................................................................................................50 五、if 函数............................................................................................................................50 六、call函数..........................................................................................................................51 七、origin函数.....................................................................................................................51 “undefined”.................................................................................................................52 “default”.......................................................................................................................52 “file”...............................................................................................................................52 “command line”.........................................................................................................52 “override”....................................................................................................................52 “automatic”.................................................................................................................52 八、shell函数.......................................................................................................................53 九、控制make的函数..........................................................................................................53 1、error........................................................................................................................53 2、warning..................................................................................................................54 第十部分 make 的运行..............................................................................................................54 一、make的退出码..............................................................................................................54 二、指定Makefile................................................................................................................54 三、指定目标.........................................................................................................................55 “all”................................................................................................................................56 “clean”..........................................................................................................................56 “install”.........................................................................................................................56 “print”...........................................................................................................................56 “tar”...............................................................................................................................56 “dist”..............................................................................................................................56 “TAGS”..........................................................................................................................56 “check”和“test”..........................................................................................................56 四、检查规则.........................................................................................................................57 五、make的参数..................................................................................................................57 第十一部分隐含规则...................................................................................................................61 一、使用隐含规则.................................................................................................................61 二、隐含规则一览.................................................................................................................62 1、编译C程序的隐含规则...........................................................................................63 2、编译C++程序的隐含规则.....................................................................................63 3、编译Pascal程序的隐含规则..................................................................................63 4、编译Fortran/Ratfor程序的隐含规则..................................................................63 5、预处理Fortran/Ratfor程序的隐含规则..............................................................63 6、编译Modula-2程序的隐含规则...........................................................................63 7、汇编和汇编预处理的隐含规则..............................................................................64 8、链接Object文件的隐含规则.................................................................................64 9、Yacc C程序时的隐含规则.....................................................................................64 10、Lex C程序时的隐含规则.....................................................................................64 11、Lex Ratfor程序时的隐含规则...........................................................................65 12、从C程序、Yacc文件或Lex文件创建Lint库的隐含规则..................................65 三、隐含规则使用的变量.....................................................................................................65 1、关于命令的变量。..................................................................................................65 2、关于命令参数的变量..............................................................................................66 四、隐含规则链.....................................................................................................................67 五、定义模式规则.................................................................................................................68 1、模式规则介绍..........................................................................................................68 2、模式规则示例..........................................................................................................69 3、自动化变量..............................................................................................................70 4、模式的匹配..............................................................................................................72 5、重载内建隐含规则..................................................................................................72 六、老式风格的"后缀规则".................................................................................................73 七、隐含规则搜索算法.........................................................................................................74 第十二部分使用make更新函数库文件....................................................................................75 一、函数库文件的成员.........................................................................................................75 二、函数库成员的隐含规则.................................................................................................75 三、函数库文件的后缀规则.................................................................................................76 四、注意事项.........................................................................................................................76 第十三部分后序...........................................................................................................................77

2012-11-30

走出华为 走出华为

走出华为 自序:当华为已成往事 汤圣平 1996的9月18日忽然入的华为,2003年的1月28日又忽然从华为辞职。 忽然间,华为成了我的往事。 “往事不用再提,人生已多风雨。 ”出于震撼和感动的缘故,《霸王别姬》像 是我记忆中的背景经常在眼前反复播映。当华为成为往事时,此时的情感才被时 间的棱镜折射出一束 束夺目的色彩。 在深圳,两个月内搬了3次家,在疲劳和厌倦中的1996 年9月,我跨入了 华为。突然间,我发现我爱上了从用户服务中心大厦的大厅里快步地走过;我爱 上了等电梯时同事们热情的打闹;我爱上了办公室里那淡淡的香水的味道。 我还爱上了那个靠在墙角的垫子。我不仅中午睡,我晚上还睡;不仅上半夜 睡,我下半夜还睡;不仅工作日睡,我星期天还睡;不仅我自己睡,还把室友找 来睡;不仅睡觉,我把牙刷、牙膏、毛巾都带过来了。我爱上你了,华为。 2000 年,公司领导要派我到市场前线去工作,我对市场实在是一窍不通, 我想退却。但领导和同事们鼓励我,认为我肯定行。我就豁出去了。我这个连交 换机多少钱一线都不知道的文科生, 我这个一时间连内存和硬盘还没分清楚的文 科生,我这个在市场前线很难一见的纯纯粹粹的文科生,是华为一如既往地手把 手教我。当领导告诉我可以选择一个办事处的时候,我将信将疑地问他:杭州可 以吗?当任命出来时,我久久地注视着屏幕。我谢谢你,华为。 2002 年底,我提出辞职,办事处代表找我谈话并多次挽留。当我做了决定 之后,代表处请我吃饭;系统部一遍一遍请我吃饭;同事们一遍一遍一遍请我吃 饭,我这个被同事们称为从来没看见喝醉过的人,尽情地把自己喝醉了。我这个 即将离开华为的老员工,我这个华为给了我比绝大多数同龄人要多的老员工,我 这个偶尔对华为还有些抱怨的老员工,面对此情此景,怎么舍得开口和你说再见 呢?我留恋你,华为。 2003 年春节后,我开始安心写作本书,关掉手机,拔掉电话线。但是,每 到周末,我还是自觉不自觉地把电话开启。我知道,此时华为朋友们的电话就会 响起,那是熟悉的到酒吧集合的信号。我坐在大群华为人中间,没有一点隔阂,酒还是大口大口地喝,谈的还是华为、任正非。爱华为、骂华为,就是话题离不 开华为。我这个留着胡子的前华为人呐,嘿嘿,我怀念你,华为。 我在书写到一半的时候,突然间一种莫名的惆怅紧紧地勒着我。我和好朋友 冯光喝酒,我告诉他,我心中有隐隐的不安,这样写华为,是不是对不起华为对 我的好?他说,你不是经常提起,我们对华为应该感恩吗,你写书的时候是不是 也带着这种心情呢?如果是,你的文字中就会自然地流露出来。 对,感恩,感恩!我释然了,我是怀着感恩的心情在写你呀,亲爱的华为。 因为感恩,所以热情地歌颂你。 因为感恩,所以无情地批判你。 圣平自序于杭州寓所 2003年12月3日

2011-10-28

C++ Coding Standards: 101 Rules, Guidelines, and Best Practices

• Table of Contents • Index C++ Coding Standards: 101 Rules, Guidelines, and Best Practices By Herb Sutter, Andrei Alexandrescu Publisher : Addison Wesley Professional Pub Date : October 25, 2004 ISBN : 0-321-11358-6 Pages : 240 Consistent, high-quality coding standards improve software quality, reduce time-to-market, promote teamwork, eliminate time wasted on inconsequential matters, and simplify maintenance. Now, two of the world's most respected C++ experts distill the rich collective experience of the global C++ community into a set of coding standards that every developer and development team can understand and use as a basis for their own coding standards. The authors cover virtually every facet of C++ programming: design and coding style, functions, operators, class design, inheritance, construction/destruction, copying, assignment, namespaces, modules, templates, genericity, exceptions, STL containers and algorithms, and more. Each standard is described concisely, with practical examples. From type definition to error handling, this book presents C++ best practices, including some that have only recently been identified and standardized-techniques you may not know even if you've used C++ for years. Along the way, you'll find answers to questions like What's worth standardizingand what isn't? What are the best ways to code for scalability? What are the elements of a rational error handling policy? How (and why) do you avoid unnecessary initialization, cyclic, and definitional dependencies? When (and how) should you use static and dynamic polymorphism together? How do you practice "safe" overriding? When should you provide a no-fail swap? Why and how should you prevent exceptions from propagating across module boundaries? Why shouldn't you write namespace declarations or directives in a header file? Why should you use STL vector and string instead of arrays? How do you choose the right STL search or sort algorithm? What rules should you follow to ensure type-safe code? Whether you're working alone or with others, C++ Coding Standards will help you write cleaner codeand write it faster, with fewer hassles and less frustration.

2011-10-17

深入C++对象模型

Publisher : Addison Wesley Pub Date : May 03, 1996 ISBN : 0-201-83454-5 Pages : 304 Slots : 1 Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritance, and "the virtuals"-virtual functions and virtual inheritance. This book shows how your understanding the underlying implementation models can help you code more efficiently and with greater confidence. Lippman dispells the misinformation and myths about the overhead and complexity associated with C++, while pointing out areas in which costs and trade offs, sometimes hidden, do exist. He then explains how the various implementation models arose, points out areas in which they are likely to evolve, and why they are what they are. He covers the semantic implications of the C++ object model and how that model affects your programs. Highlights Explores the program behavior implicit in the C++ Object Model's support of object-oriented programming. Explains the basic implementation of the object-oriented features and the trade offs implicit in those features. Examines the impact on performance in terms of program transformation. Provides abundant program examples, diagrams, and performance measurements to relate object-oriented concepts to the underlying object model. If you are a C++ programmer who desires a fuller understanding of what is going on "under the hood," then Inside the C++ Object Model is for you!

2011-09-30

Pattern_Recognition_and_Machine_Learning

Information Science and Statistics Series Editors: M. Jordan J. Kleinberg B. Scho ¨lkopf

2011-08-05

MT6225A+6138+MT6319单芯片双卡双待原理图

MTK芯片清晰无水印的原理图,需要的可以下载看看。

2010-09-24

VxWorks的Media Lib 3.0 (Part2)

VxWorks的Media Lib 3.0 库,很难找到在这里分享一下阿!需要研究和学些Tornado或者Vxworks的可以下载,商业用途请绕行!(2/2)

2010-09-18

VxWorks的Media Lib 3.0 (Part1)

VxWorks的Media Lib 3.0 库,很难找到在这里分享一下阿!需要研究和学些Tornado或者Vxworks的可以下载,商业用途请绕行!

2010-09-18

WindML3.0 补丁

wind media lib 3.0补丁!!

2010-09-11

虚拟软驱 ramdisknt15

虚拟软驱工具ramdisknt15,需要的赶紧下载吧~~

2010-09-11

NHibernate的Demo

用Nhibernate访问Postgre数据库的一个例子,参照了http://nhforge.org/wikis/howtonh/your-first-nhibernate-based-application.aspx官方文档中的例子!

2010-05-15

The Unified Modeling Language Reference Manual, Second Edition

The Unified Modeling Language Reference Manual, Second Edition by James Rumbaugh, Ivar Jacobson, and Grady Booch Published 2005 by Addison-Wesley ISBN 0-321-24562-8 File UMLRefCD.pdf contains an electronic version of The Unified Modeling Language Reference Manual in Adobe(r) Reader(r) format. It is

2009-07-28

programing C# edition5

英文原版,清晰带目录。 Table of Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Part I. The C# Language 1. C# 3.0 and .NET 3.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 The Evolution of C# 3 The C# Language 4 The .NET Platform 6 2. Getting Started: “Hello World” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Classes, Objects, and Types 7 Developing “Hello World” 14 Using the Visual Studio 2008 Debugger 18 3. C# Language Fundamentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Types 21 Variables and Constants 25 Whitespace 33 Statements 33 Operators 49 Preprocessor Directives 59 4. Classes and Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Defining Classes 62 Creating Objects 67 Using Static Members 75 Destroying Objects 79 Passing Parameters 83 iv | Table of Contents Overloading Methods and Constructors 89 Encapsulating Data with Properties 92 readonly Fields 96 5. Inheritance and Polymorphism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Specialization and Generalization 98 Inheritance 101 Polymorphism 102 Abstract Classes 109 The Root of All Types: Object 113 Nesting Classes 115 6. Operator Overloading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Using the operator Keyword 118 Supporting Other .NET Languages 119 Creating Useful Operators 120 Logical Pairs 120 The Equality Operator 120 Conversion Operators 121 Putting Operators to Work 121 7. Structs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Defining Structs 128 Creating Structs 129 8. Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Defining and Implementing an Interface 132 Overriding Interface Implementations 147 Explicit Interface Implementation 151 9. Arrays, Indexers, and Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Arrays 156 The foreach Statement 162 Indexers 177 Collection Interfaces 186 Constraints 190 List<T> 195 Queues 206 Stacks 208 Dictionaries 211 Table of Contents | v 10. Strings and Regular Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 Strings 215 Regular Expressions 229 11. Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Throwing and Catching Exceptions 242 Exception Objects 252 12. Delegates and Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256 Events 256 Events and Delegates 257 Anonymous Methods 271 Part II. C# and Data 13. Introducing LINQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 Defining and Executing a Query 280 LINQ and C# 285 Anonymous Types 291 Implicitly Typed Local Variables 291 Extension Methods 292 Lambda Expressions in LINQ 297 14. Working with XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302 XML Basics (A Quick Review) 302 X Stands for eXtensible 304 Creating XML Documents 304 Searching in XML with XPath 311 Searching Using XPathNavigator 322 XML Serialization 329 15. Putting LINQ to Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 Getting Set Up 338 LINQ to SQL Fundamentals 339 Using Visual Studio LINQ to SQL Designer 344 Retrieving Data 349 Updating Data Using LINQ to SQL 353 Deleting Relational Data 358 LINQ to XML 363 vi | Table of Contents 16. ADO.NET and Relational Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 Relational Databases and SQL 368 The ADO.NET Object Model 372 Getting Started with ADO.NET 374 Part III. Programming with C# 17. Programming ASP.NET Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381 Web Forms Fundamentals 381 Creating a Web Form 385 Data Binding 391 18. Programming WPF Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404 WPF in a Very Small Nutshell 404 Building the Application 406 What Have You Learned, Dorothy? 419 19. Programming Windows Forms Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 420 Creating the Application 420 Part IV. The CLR and the .NET Framework 20. Attributes and Reflection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449 Attributes 449 Reflection 456 21. Threads and Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465 Threads 466 Synchronization 474 Race Conditions and Deadlocks 485 22. Streams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487 Files and Directories 488 Reading and Writing Data 499 Asynchronous I/O 506 Network I/O 511 Web Streams 527 Serialization 529 Isolated Storage 538 Table of Contents | vii 23. Programming .NET and COM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 542 Importing ActiveX Controls 542 P/Invoke 551 Pointers 554 C# Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569

2009-04-19

C++设计新思维(简体)

侯捷翻译的,对于C++的泛型设计很有帮助!

2009-03-07

Oracle技术人员求职面试题集锦

Oracle技术人员求职面试题集锦 !求职面试必看!

2008-11-11

oracle高性能SQL调整

oracle sql 优化的经典著作!真正的是你掌握oracle的核心知识

2008-11-11

Apress Oracle Database 11g, New Features for DBAs and Developers

oracle 11g 新特性!很难搞到的书哦

2008-11-03

notepad ++

很好的文本编辑软件,界面简洁,占用资源少,很好很强大!

2008-07-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除