自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

泯灭的专栏

-----在那遥远的地方

  • 博客(6)
  • 资源 (42)
  • 收藏
  • 关注

原创 shell编程中引号的作用

 

2007-10-17 11:19:00 1091 1

原创 使用外壳变量

就像其它的任何高级语言一样,在外壳脚本中使用变量也是十分重要的。1.给变量赋值          在pdksh和bash中,给变量赋值的方法是一样的,即在变量名后跟着等号和变量值。例如,想要把5赋给变量count,则使用如下的命令:       count=5 (注意,在等号的两边不能有空格)       在tcsh中,可以使用如下的命令:       set count=5      

2007-10-17 10:51:00 876

原创 外壳编程

    在DOS中,你可能会从事一些例行的重复性命令,此时你会将这些重复性的命令写成批处理命令,只要执行这个批处理命令就等于执行这些命令。在Linux系统中也有类似的批处理命令,他的功能比起DOS的批处理命令更为强大,相对也较为复杂,已经和一般的高级语言不相上下。这些批处理命令在Linux中叫外壳脚本(外壳Script).    外壳脚本是以文本方式储存的,而非二进制文件。所以外壳脚本必须在Li

2007-10-17 10:08:00 1534

原创 shell变量的有效范围

shell变量的设定只能在目前这个shell环境当中存在,在下个或者是在子程序中(子shell)将不会存在!要让变量在下个程序也可以继续使用,只能使用export。此外,其实除了shell的父、子程序外,在脚本(scripts)的编写当中,由于有的软件会使用到2个以上的scripts作为一个完整的套件!也就是说,假如你有两支程序,一支为scripts1.sh以及scripts2.sh,

2007-10-16 15:12:00 2965

原创 shell学习笔记(一)

1.在变量的设定中,单引号与双引号有什么不同呢?单引号与双引号的最大的不同在于双引号仍然可以保有变量的内容,但单引号仅能是一般字符,而不会有特殊符号。2. 在指令下达的过程中,quote(`)这个符号代表的意义为何?在一串指令中,在`之内的指令将会被先执行,而其执行出来的结果将作为外部的输入信息!例如 uname -r会显示出目前的核心版本,而我们的核心版本在/lib/modules里

2007-10-16 15:00:00 532

原创 在bash下变量设定规则

 在bash下变量设定规则:1.变量与变量内容以等号“=”来连接;2.等号两边不能直接接空格符;3.若有空格符可以使用双引号“””或单引号“‘”来将变量内容结合起来,但需要特别留意,双引号内的特殊字   符可以保有变量特性,但是单引号内的特殊字符仅为一般字符;4.变量名称只能是英文字母与数字,但是数字不能是开头字符;5.必要时需要以跳脱字符“/”来将特殊符号(如Enter,$,

2007-10-16 14:24:00 586

Microsoft .NET Remoting

Acknowledgments<br>We couldn't have written this book without the help of many people. We'd like to thank the following people in particular.<br><br>First, we'd like to thank members of the Microsoft Press book team for making this book possible: Danielle Bird, acquisition editor; Kathleen Atkins, project editor; Michelle Goodman, copy editor; Dail Magee Jr., technical editor; Rob Nance, electronic artist; Kerri DeVault, compositor; and Marc Young, a technical editor who read our chapters early in the project. We'd like to thank our peer reviewers: Allen Jones and Adam Freeman. We'd also like to thank the folks at Moore Literary Agency for helping to make this book possible: Mike Meehan, Claudette Moore, and Debbie McKenna.<br><br>Finally, a very significant amount of time goes into writing a book, which is time that we stole from our loved ones. Each of us would like to extend our gratitude to our loved ones, for without their full support, we wouldn't have been able to complete this monumental task.<br>

2007-10-16

Inside CS

Fundamentals of Object-Oriented Programming <br>The goals of this chapter are to guide you through the terminology of object-oriented programming (OOP) and to give you an understanding of the importance of object-oriented concepts to programming. Many languages, such as C++ and Microsoft Visual Basic, are said to "support objects," but few languages actually support all the principles that constitute object-oriented programming. C# is one of these languages: it was designed from the ground up to be a truly object-oriented, component-based language. So, to get the absolute maximum out of this book, you need to have a strong grasp of the concepts presented here. <br><br>I know that conceptual chapters like this are often skipped over by readers who want to dive into the code right away, but unless you consider yourself an "object guru," I encourage you to read this chapter. For those of you only somewhat familiar with object-oriented programming, you should reap benefits from doing so. Also, keep in mind that the chapters that follow this one will refer back to the terminology and concepts discussed here. <br><br>As I've said, many languages claim to be object-oriented or object-based, but few truly are. C++ isn't, because of the undeniable, uncircumventable fact that its roots are deeply embedded in the C language. Too many OOP ideals had to be sacrificed in C++ to support legacy C code. Even the Java language, as good as it is, has some limitations as an object-oriented language. Specifically, I'm referring to the fact that in Java you have primitive types and object types that are treated and behave very differently. However, the focus of this chapter is not on comparing the faithfulness of different languages to OOP principles. Rather, this chapter will present an objective and language-agnostic tutorial on OOP principles themselves. <br><br>Before we get started, I'd like to add that object-oriented programming is much more than a marketing phrase (although it has become that for some people), a new syntax, or a new application programming interface (API). Object-oriented programming is an entire set of concepts and ideas. It's a way of thinking about the problem being addressed by a computer program and tackling the problem in a more intuitive and therefore more productive manner. <br><br>My first job involved using the Pascal language to program the box-office reporting and itinerary applications for Holiday on Ice. As I moved on to other jobs and other applications, I programmed in PL/I and RPG III (and RPG/400). After a few more years, I started programming applications in the C language. In each of these instances, I was easily able to apply knowledge I had learned from prior experience. The learning curve for each successive language was shorter regardless of the complexity of the language I was learning. This is because until I started programming in C++, all the languages I had used were procedural languages that mainly differed only in syntax. <br><br>However, if you are new to object-oriented programming, be forewarned: prior experience with other non-object-oriented languages will not help you here! Object-oriented programming is a different way of thinking about how to design and program solutions to problems. In fact, studies have shown that people who are new to programming learn object-oriented languages much more quickly than those of us who started out in procedural languages such as BASIC, COBOL, and C. These individuals do not have to "unlearn" any procedural habits that can hamper their understanding of OOP. They are starting with a clean slate. If you've been programming in procedural languages for many years and C# is your first object-oriented language, the best advice I can give you is to keep an open mind and implement the ideas I'm presenting here before you throw up your hands and say, "I can fake this in [insert your procedural language of choice]." Anyone who's come from a procedural background to object-oriented programming has gone through this learning curve, and it's well worth it. The benefits of programming with an object-oriented language are incalculable, both in terms of writing code more efficiently and having a system that can be easily modified and extended once written. It just might not seem that way at first. However, almost 20 years of developing software (including the past 8 with object-oriented languages) have shown me that OOP concepts, when applied correctly, do in fact live up to their promise. Without further ado, let's roll up our sleeves and see what all the fuss is about. <br>

2007-10-16

C++ProgrammingLanguage(2)

The<br>C+ +<br>Programming<br>Language<br>Third Edition

2007-10-15

C++ProgrammingLanguage

The C++ Programming Language<br> Third Edition

2007-10-15

EffectiveC++

对每个人来说,习惯C++需要一些时间,对于已经熟悉C的程序员来说,这个过程尤其令人苦恼。因为C是C++的子集,所有的C的技术都可以继续使用,但很多用起来又不太合适。例如,C++程序员会认为指针的指针看起来很古怪,他们会问:为什么不用指针的引用来代替呢?<br>C是一种简单的语言。它真正提供的只有有宏、指针、结构、数组和函数。不管什么问题,C都靠宏、指针、结构、数组和函数来解决。而C++不是这样。宏、指针、结构、数组和函数当然还存在,此外还有私有和保护型成员、函数重载、缺省参数、构造和析构函数、自定义操作符、内联函数、引用、友元、模板、异常、名字空间,等等。用C++比用C具有更宽广的空间,因为设计时有更多的选择可以考虑。<br>在面对这么多的选择时,许多C程序员墨守成规,坚持他们的老习惯。一般来说,这也不是什么很大的罪过。但某些C的习惯有悖于C++的精神本质,他们都在下面的条款进行了阐述。<br>

2007-10-15

设计模式精解chap05

设计模式和面向对象设计互为补充

2007-09-18

设计模式精解

软件设计、设计模式、面向对象范式<br>

2007-09-18

Patterns of Enterprise Application Architecture

有一部外文经典,大家都来下啊!

2007-08-31

codereading

白送的代码阅读的参考文献,英文原版

2007-08-31

XML文章

SOAP简单对象访问协议,XML DOM 初学者指南 ==

2007-08-31

Inside C++ Object Model

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.<br><br>Highlights <br><br>

2007-08-31

面向模式的软件体系结构

面向模式的软件体系结构 卷1:模式系统

2007-08-29

编写安全的代码

编写安全的代码 希望各位喜欢

2007-08-29

实战ejb

java资料 我还会努力发的 相信我

2007-08-29

java事件传递技术

很好的java学习资料,希望对大家会有帮助

2007-08-29

VC6内幕

深入编程内幕之VC6内幕

2007-08-29

jsp高级编程

java资料 jsp 高级编程 网络编程应用

2007-08-29

C#教程指南

C#编程教程指南,经典啊 都来下吧

2007-08-28

Sun培训教材中文稿

Sun Certificated Java Programmer 培训大纲

2007-08-28

GCC中文手册

好东西 !谁用水知道!啦啦啦啦

2007-08-27

Basics.Of.Compile.Design.2008

1.1 What is a compiler? 1.2 The phases of a compiler 1.3 Interpreters 1.4 Why learn about compilers? 1.5 The structure of this book ......

2010-06-21

Apress.Exploring.Cplusplus.The.Programmers.Introduction.2009

Hi, there. Thank you for reading my book, Exploring C++. My name is Ray, and I’ll be your author today. And tomorrow. And the day after that. We’ll be together for quite a while, so why don’t you pull up a chair and get comfortable. My job is to help you learn C++. To do that, I have written a series of lessons, called explorations. Each exploration is an interactive exercise that helps you learn C++ one step at a time. Your job is to complete the explorations, and in so doing, learn C++. No doubt you have already leafed through the book a little bit. If not, do so now. Notice that this book is different from most books. Most programming books are little more than written lectures. The author tells you stuff and expects you to read the stuff, learn it, and understand it. This book is different. I don’t see much point in lecturing at you. That’s not how people learn best. You learn programming by reading, modifying, and writing programs. To that end, I’ve organized this book so that you spend as much time as possible reading, modifying, and writing programs.

2010-06-21

Memory Management Algorithms and Implementation in C C++

Chapter 1 Memory Management Mechanisms Chapter 2 Memory Management Policies Chapter 3 High-Level Services Chapter 4 Manual Memory Management Chapter 5 Automatic Memory Management Chapter 6 Miscellaneous Topics

2010-06-21

Apress.Cryptography.in.C.and.Cplusplus

介绍C,C++加解密技术的书籍,英文原版的

2009-11-17

network_sec_with_openssl

介绍用c进行openssl编程的教材,很全面

2009-11-17

Absolute.C.plus.plus

一本国外比较新的C++教材,还是彩页的哦,呵

2009-11-17

数据结构算法与应用-C++语言描述(6)

数据结构算法与应用-C++语言描述

2007-10-18

数据结构算法与应用-C++语言描述(5)

数据结构算法与应用-C++语言描述

2007-10-18

数据结构算法与应用-C++语言描述(3)

数据结构算法与应用-C++语言描述

2007-10-18

数据结构算法与应用-C++语言描述

数据结构算法与应用-C++语言描述

2007-10-18

深入浅出MFC(5)

这个不用说了吧,都知道了吧

2007-10-17

深入浅出MFC(4)

这个不用说了吧,都知道了吧

2007-10-17

深入浅出MFC(3)

这个不用说了吧,都知道了吧

2007-10-17

深入浅出MFC(2)

这个不用说了吧,都知道了吧

2007-10-17

深入浅出MFC(1)

不用说了吧,都知道了吧

2007-10-17

Programming Visual C++.

The 6.0 release of Visual C++ shows Microsoft's continued focus on Internet technologies and COM, which are key components of the new Windows Distributed interNet Application Architecture (DNA). In addition to supporting these platform initiatives, Visual C++ 6.0 also adds an amazing number of productivity-boosting features such as Edit And Continue, IntelliSense, AutoComplete, and code tips. These features take Visual C++ to a new level. We have tried to make sure that this book keeps you up to speed on the latest technologies being introduced into Visual C++. <br>

2007-10-16

Write Secure Code

Improving security was a major focus while we were developing Windows 2000. At one point, we decided to run an unusual experiment to test the product’s mettle before we released it. We set up a Windows 2000 Web server called “Windows2000test.com,” put it out there, and waited to see what happened. We made no announcement of any kind; we didn’t call any attention to it in any way whatsoever. Within a couple of hours, hundreds of people were already trying to hack it. Within days, tens of thousands of people were hammering away.<br><br>

2007-10-16

Network Programming for Microsoft Windows 2nd

Network Programming for Microsoft Windows 2nd

2007-10-16

JScript 语言参考

这些方便实用的信息将帮助您了解 JScript 的各个部分。<br>在“字母顺序的关键字列表”中,可以找到按字母顺序列出的所有 JScript 语言的主题。如果只需要查看某个主题(例如对象),则有对该主题进行详细说明的章节可供查阅。<br><br>如何操作呢?单击左边任意一个标题,即可显示该标题所包含的项目列表。再从该列表中选择要查看的主题。在打开所选主题后,就可以方便地链接到相关章节。<br><br>

2007-10-16

Programming Microsoft Windows with C#

C#,MS Press - Programming Microsoft Windows with Csharp

2007-10-16

空空如也

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

TA关注的人

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