自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Thinking and Coding Life

描述职业生涯中值得分享的心得、体会和教训

  • 博客(40)
  • 资源 (35)
  • 收藏
  • 关注

原创 如何设置Windows 11的WSL系统用作备用桌面环境

如何设置Windows 11的WSL系统用作备用桌面环境

2024-01-18 20:42:34 929

原创 探索Octave

Octave探索

2021-07-03 15:20:06 217

转载 RISC-V学习总结之历史与现状【转载】

本文转载自博客园—宁静致远:RISC-V学习总结之历史与现状引言:从2020年5月份华为被美国下狠手,一直对半导体行业的核心领域发展甚为关注,端午假期闲逛,发现了一偏难得的文章,介绍得很全面,还附上了有用的链接,便于进一步研究的链接,感谢“冷冷北极”的好文章。我也特意全文转载,以飨码友。感言:2020年因为各种原因必将在人类历史中成为备受关注的里程碑,或许这一年也是未来很大大事记的开端。1 RISC与RISC-VRISC发明者是美国加州大学伯克利分校教师David Patterson,RISC-

2020-06-25 11:53:25 2780

原创 Office 365安装后如何安装非订阅版Visio Professional 2019

Visio 2019如何与Office 365并行安装; 附详细的操作步骤;

2020-04-12 22:35:49 368 2

原创 关于VS2019离线安装的注意事项

关于VS2019离线安装的注意事项关于Visual Studio 2019的离线安装文件如何生成,微软官方有详细文档:链接请参考此处:创建 Visual Studio 的脱机安装请注意,用此处的方法创建的离线安装文件都是默认配置下的文件。如果在安装时有勾选了其他选项,仍然需要重新联网下载缺少的文件。...

2019-07-14 15:24:54 4886

原创 C++源程序迁移注意事项汇总【之一】

C++源程序迁移注意事项汇总:32位至64位,Windows平台本文记录一下开发过程中遇到的迁移32位Windows源程序至64位Linux程序过程中的一些问题和处理经验,希望对遇到类似问题的程序猿和程序媛有帮助。整型数据的处理因为Windows和Linux使用的是两种不同的数据模型,即LLP64和LP64(有关信息详见64-bit computing),因此在遇到某些需要将长整型...

2018-07-13 21:40:41 695

转载 Visual Studio 项目配置中使用的路径宏

Visual Studio 项目配置中使用的路径宏以下内容转载自: https://www.cnblogs.com/lidabo/archive/2012/05/29/2524170.html说明:以下大部分的路径宏适用于Visual Studio 各版本,包括VS2015。 $(RemoteMachine) 设置为“调试”属性页上“远程计算机”属性的值。有关更多信息,请参见更改用于...

2018-07-12 11:19:46 1657

原创 使用VS2013+MATLAB2016B开发MEX(64位)程序

声明本文的部分内容参考此文Mex文件在VS2010中调试方法中描述的方法试验得到,特此声明。创建MEX工程Step 1: 在VS中创建MEX工程如果新建工程,可以选择创建Win32 Project >> Application Type >> DLL;如果是EXE工程(即应用程序工程,通常是默认生成类型),请修改Project属性为DLL。具体...

2017-12-18 15:33:44 4615 3

转载 提高Visual Studio 2013编译速度操作要领

提高 Visual Studio 2013编译速度基本操作可以参考这篇博文:VS2013 加快编译速度 的方法整理其中,感觉最有效的方法应该是要启用“多核编译(Multi-Processor Compilation)”。对于大量使用Boost和STL的代码,编译速度虽然会有所影响,但还是提升明显。

2017-04-21 09:37:28 1079

原创 关于C++11右值引用的一个误解

关于右值引用的一个误解C++11引入了右值引用,但是如果不深入了解而望文生义的使用,会造成一些误解。在处理函数返回的时候会有这种典型错误。一个错误使用的例子函数 foo()返回对象X,有的亲可能想返回右值引用。X foo (){ X x; ... return x;}于是代码变成了:X&& foo (){ X x; ... return x;

2016-11-07 20:01:51 620

转载 关于字符编码,你所需要知道的(ASCII,Unicode,Utf-8,GB2312…)

此文为转载,原文出处如下: 关于字符编码,你所需要知道的 字符编码是每一位程序员都要面对的问题,尤其是在深入思考程序设计的细节时。这篇博文是我目前为止所见的文章中覆盖内容最系统而全面的一篇。其中,字符编码基本原理和各种主要编码类型的要点阐述到很精辟,值得一读。关于字符编码,你所需要知道的(ASCII,Unicode,Utf-8,GB2312…)字符编码的问题看似很小,经常被技术人员忽视,但是

2016-09-24 10:15:34 1791

原创 如何将VS向导生成的DLL工程切换到EXE配置

如何将VS向导生成的DLL工程切换到EXE配置问题现象操作步骤问题现象调试一个大的工程时手动对编写的代码进行单元测试,已经在工程属性对话框中将“配置”生成模式从“DLL”切换到“应用程序(即EXE)”配置。 具体如下图操作。但是编译时仍然提示如下错误:1>Creating library D:\...\LAC_IO.lib and object D:\...\LAC_IO.exp1>MSV

2016-08-16 17:44:50 6929 2

转载 #pragma预处理命令小纪

原文地址 http://www.cnblogs.com/qinfengxiaoyue/archive/2012/06/05/2535524.html#pragma可以说是C++中最复杂的预处理指令了,下面是最常用的几个#pragma指令:#pragma comment(lib,"XXX.lib")表示链接XXX.lib这个库,和在工程设置里写上XXX.lib的效果一样。

2015-11-12 13:23:50 589

原创 大数据分析系列在线课程的学习札记之二

Getting and Cleaning Data (Week 2)学习要点记录学习要点和解题提示。

2015-04-16 17:25:19 1067

原创 大数据分析系列在线课程的学习札记之一

序:最近正在学习约翰霍普金斯大学的大数据分析在线课程(参考此处),在学习第3季:获取和清洗数据(Getting and Cleaning Data)时发现,从第一周开始的作业中就有几个细节需要特别注意。于是决定从本周开始将一些容易出问题的地方记录下来。1)download.file()的使用在下载Excel文件(XLSX类型)时,请注意使用二进制下载方式,即mode参数应设为“wb

2015-04-11 08:59:41 1497

原创 MATLAB2014b安装(Ubuntu 14.10)

序:介绍MATLAB2014b安装(图解),安装环境为Ubuntu 14.10+64位。

2015-02-25 22:01:03 6534 2

转载 Python黑客学习笔记:从HelloWorld到编写PoC(上)

中文原文地址:http://www.freebuf.com/news/special/58048.html本系列文章适合CS在读学生和万年工具党,本文会在英文原文的基础上做些修改,并适当增加些解释说明。本篇包含原文的前几部分:0x0 – Getting Started      - 从零开始0x1 – Getting Started Pt.2   - 进阶0x2 – Por

2015-02-24 18:59:37 8347 2

原创 Linux 应用札记【五】手动配置火狐中的Adobe Flashplayer插件

序:最近在Linux下浏览网页时,发现常常提示Flashplayer需要更新,但是跳转到Adobe的官网之后发现,已经停止了新版本的支持,对现有版本只有安全补丁更新。而且,使用官网上下载的安装包之后,总是有附加数据无法下载。无奈,我只好尝试手动更新。其实更新步骤也不复杂。

2015-02-09 12:37:25 957

原创 Linux 应用札记【四】Linux下的百度云盘客户端

最近经常从百度云盘下载大尺寸的文件,其中的ISO文件常常是GB级别。尽管家里的宽带是50M,但是使用火狐的默认下载管理器太慢。Windows下的百度云客户端倒是很快,不过总不能每次为了下载几个文件就又重启到Windows吧?今天不经意间发现了一个好东东,就是Linux下的百度云客户端。

2015-02-08 22:47:14 5844

转载 linux 下6款 git 图形客户端

原文地址:http://www.lupaworld.com/article-215534-1.htmlGit 是目前流行的分布式版本控制系统。在Debian、Ubuntu 下可以使用下面命令安装:sudo apt-get install git然后通过”git add *”、“git commit”、“git pull”、“git push”来管理你的项目。不过,有

2015-02-08 22:25:48 8767

原创 Linux应用札记【三】—Unity桌面环境使用技巧点滴

序:Ubuntu安装完毕之后,刚开始进入新的桌面环境时会有一个适应过程。这里简单介绍一下,如何借助Ubuntu默认的Unity桌面环境进行一些日常应用。特别说明:我手头暂时没有找到合适的截取动画的软件,所以主要是静态截图。如果今后发现了再更新本帖。

2015-02-07 12:37:01 2329

原创 Linux 命令图解5分钟系列[2] - 文件操作及目录操作进阶

本期重点:ls复习和深入用法;初识find命令;目录操作命令:cd、mkdir;

2015-02-02 15:59:15 784

原创 一些有用的Latex模板(持续更新)

最近搜集的一些Latex模板,希望各位写作的时候能派上用场。

2015-01-31 12:44:30 25424 1

转载 Ubuntu 14.04/14.10 系统安装 Latex及配置中文字体[修订]

简明扼要地介绍来Ubuntu 14.10下如何安装Latex并配置中文字体的操作步骤。

2015-01-29 21:34:54 11991

原创 Linux 命令图解5分钟系列[1] - 目录操作

图解60个常用Linux命令,特点:以操作为导向、命令解说详实、图解,内容安排5分钟左右,适合碎片时间。

2015-01-26 10:59:23 1363

原创 Linux下安装Mathematica 9的说明

在Ubuntu下是可以顺利安装Mathematica 9的,过程并不复杂,启动安装脚本后,安装过程只需要选择指定路径,其后都是全自动过程。安装时大致过程如下图所示。安装路径一般就选缺省的,不用纠结注意最下面一行的“*”符号就是代表进度条了。安装完成之后,大家很关心的问题是如何激活。其实,完全可以使用Windows版本的mathpass进行激活,也就是说在安装Windows版本时,使

2014-12-03 21:54:10 6123 1

原创 Linux 应用札记【二】

简要的介绍以下Linux(以Ubuntu Kylin为示例)下如何安装Skype和QQ。

2014-12-03 21:37:34 619

转载 跟我一起写 Makefile(精华帖合辑)之——终结篇

书写命令————每条规则中的命令和操作系统Shell的命令行是一致的。make会一按顺序一条一条的执行命令,每条命令的开头必须以[Tab]键开头,除非,命令是紧跟在依赖规则后面的分号后的。在命令行之间中的空格或是空行会被忽略,但是如果该空格或空行是以Tab键开头的,那么make会认为其是一个空命令。我们在UNIX下可能会使用不同的Shell,但是make的命令默认是被“/bin

2014-10-20 20:23:58 796

转载 跟我一起写 Makefile(精华帖合辑)之——提高篇

第二篇:提高部分一、Makefile里有什么?Makefile里主要包含了五个东西:显式规则、隐晦规则、变量定义、文件指示和注释。1、显式规则。显式规则说明了,如何生成一个或多的的目标文件。这是由Makefile的书写者明显指出,要生成的文件,文件的依赖文件,生成的命令。2、隐晦规则。由于我们的make有自动推导的功能,所以隐晦的规则可以让我们比较粗糙地简略地书写M

2014-10-20 19:34:46 875

原创 在UBuntu 14.01下安装Matlab R2013b

我找到能在uBuntu 14.01下安装的Matlab是R2013A版,也就是2013年上半年发布。安装步骤1)安装 Matlab时,首先选取光盘镜像文件,单击右键,在弹出菜单中选择“打开方式”→“磁盘映像挂载器”(参考下图),将映像挂载到系统。这相当于Windows下的虚拟光驱载入映像操作。2)然后在挂载的磁盘上,你可以找到文件“install_linux.sh”(见

2014-10-10 10:10:27 2026

原创 MATLAB Curve Fitting Toolbox拟合结果统计数据的含义

最近常用Curve Fitting Toolbox(以下简称CFT)处理数据,在直观的比较各种参数配置下拟合结果的时候,也常常会好奇各种统计数据的含义。今天无意中找到一些用户手册中的详细解释,觉得有用,特分享给各位亲。以下内容大部分取自手册,只不过翻译成了国文。^_^上面这副截图是一个典型的多种参数配置的统计结果比较。其中,主要使用了两种拟合方法:多项式拟合以及自定义表达式拟合;多

2014-10-10 09:50:03 13978 1

原创 Linux 应用札记【一】——使用ISO镜像创建USB引导盘

虽然使用Ubuntu

2014-10-10 08:47:47 2020

转载 Cheat—— 给Linux初学者和管理员一个终极命令行"备忘单"

Cheat—— 给Linux初学者和管理员一个终极命令行"备忘单" 作者: Avishek Kumar |译者: su-kaiyao原文出处:当你不确定你所运行的命令,尤其是那些使用了许多选项的复杂命令时,你会怎么做?在这种情况下,我们使用man pages来获取帮助。还有一些其它的选择可能包括像‘help’,‘whereis’和‘whatis’这样的命令。但是所有的这些既有优

2014-09-30 14:33:11 820

原创 推荐一个非常不错的Linux资源网站

今天在网上闲逛,发现一个非常不错的网站,(或许高手早已知晓也说不定),除了很多有价值的文章

2014-09-30 14:21:52 845

转载 跟我一起写 Makefile(精华帖合辑)之——基础篇

陈皓概述——什么是makefile?或许很多Winodws的程序员都不知道这个东西,因为那些Windows的IDE都为你做了这个工作,但我觉得要作一个好的和professional的程序员,makefile还是要懂。这就好像现在有这么多的HTML的编辑器,但如果你想成为一个专业人士,你还是要了解HTML的标识的含义。特别在Unix下的软件编译,你就不能不自己写makefile了

2014-09-29 16:04:23 534

转载 使用GRUB2恢复无法引导的系统

大多数 Linux 计算机使用 Grand Unified Bootloader (GRUB) — 更具体的讲是 GRUB 2 — 来控制从计算机的固件到内核的转移。GRUB 2 提供了复杂的引导时用户交互功能,为您提供了控制引导过程的能力。您可能不想每天都使用这些功能,但它们在处理问题的时候很重要,比如计算机在执行内核升级、磁盘更换或其他系统更改后无法引导的时候。一些技巧和 GRUB 命令可

2014-09-22 18:49:01 5827

转载 双buffer模版

在实际工作中,经常会遇到这种情况:一些配置文件可能面临更改,希望更改完成后动态加载到进程中。要做到此,需要注意两个方面:        1.不断监测文件是否修改,如果有修改,则启动更新        2.如果配置文件在程序中对应的变量,一直会被访问,那么需要加锁进行,更新配置的时候可以占有锁进行更新操作,可以用读写锁实现。如果并发量非常大,那么在更新配置时,会对性能有一定的影响。 

2014-09-19 13:37:55 919 1

原创 Intel Composer XE 2013 Update 2 Linux (Ubuntu 14.04) 安装笔记

本文以Ubuntu 14.04(64位)为例,介绍ICPC Parallel Studio XE 2013 (Update2,x64)在Linux下的完整安装过程。

2014-09-18 11:25:15 10519 7

转载 BNF和EBNF的含义及其用法

BNF 和EBNF的含义与用法By: Lars Marius Garshol 原文参见:http://www.garshol.priv.no/download/text/bnf.html(本文是上述作者文章的翻译,原文版权归作者所有)(译者:Sunnybill)BNF 和EBNF的含义与用法 1简介       关于本文       什么是BNF?工作原理

2014-09-18 10:24:56 2065

原创 在UBuntu 14.01中配置Boost库(及CodeBlocks)

在UBuntu 14.01中配置Boost库前言:以下配置的步骤参考Boost官方文档以及其他一些CSDN上的博文。配置的编译环境是CodeBlocks v13,有关命令行的编译方法CSDN上介绍了很多,此处不在赘述。步骤1:首先下载Boost库。Linux下推荐下面的链接。http://www.boost.org/users/history/version_1_56_

2014-09-17 10:20:22 3604

Ordinary_and_Partial_Differential_Equation_Routines_in_CPP_Fortran_Java_Maple

这是一本全面介绍常微分方程的书,其中给出了用C++,Java,Maple,Matlab等各种语言实现的解方程例子和分析过程。对于物理等专业应该很适用。

2014-09-21

Real-Time Concepts for Embedded Systems

This book is oriented primarily toward junior to intermediate software developers work ing in the realm of embedded computing. If you are an experienced developer but new to real-time embedded systems develop ment, you will also find the approach to design in this book quite useful. If you are a technical manager who is active in software design reviews of real-time systems, you can refer to this book to become better informed regarding the design and implementation phases. This book can also be used as complementary reference material if you are an engineering or computer science student. Before using this book, you should be proficient in at least one programming language and should have some exposure to the software-development process.

2014-09-21

Advanced Linux 3D Graphics Programming

This text has several objectives. A primary goal of this text is to give you a solid understanding of the fundamental concepts involved in interactive 3D graphics programming at the intermediate to advanced level. Such an understanding not only enables you to write your own 3D programs, libraries, and games under Linux, but also gives you the knowledge and confidence you need to xii analyze and use other 3D graphics texts and programs. In the open source world of Linux, understanding fundamental concepts is indeed important so that you can understand and possibly contribute to the common pool of knowledge and code. Furthermore, learning fundamental 3D graphics concepts also enables you to understand and effectively use sophisticated 3D applications and libraries such as 3D modelers and OpenGL. A second goal of this text is to give you plenty of hands-on experience programming 3D graphics applications under Linux. It is one thing to understand the theoretical mechanics of an algorithm; it is another to actually implement, debug, and optimize that same algorithm using a particular set of programming tools. Small standalone programs are scattered throughout this text to demonstrate key 3D graphics concepts. It is often easy to lose sight of the forest for the trees, particularly in the complicated world of 3D graphics. Standalone sample programs address this problem by concisely illustrating how all the necessary components of a 3D program “fit together.” They reduce the intimidation that often accompanies the study of large, complicated programs, and give you confidence in developing and modifying complete 3D programs under Linux. A third goal of this text is to help you develop and understand the techniques for developing a reusable 3D application framework or library. In addition to the standalone programs mentioned above, the book also develops a series of generally reusable C++ library classes for 3D graphics, called the l3d library. This library was introduced in the introductory companion book Linux 3D Graphics Programming and is developed further in this book. This C++ library code follows an object-oriented approach, relying heavily on virtual functions, (multiple) inheritance, and design patterns. In this manner, the developed library classes are usable as is but still open for extension through subclassing. Each chapter builds upon the library classes developed in previous chapters, either adding new classes or combining existing classes in new ways. Through subclassing, the library classes can be adapted to work with virtually any hardware or software platform or API; currently, the code runs under Linux and MicrosoftWindows, with or without hardware acceleration. The techniques used to develop the 3D library classes illustrate both valuable 3D abstractions and generally applicable object-oriented techniques. A fourth goal of this text is to demonstrate the excellence of the Linux platform as a graphics programming environment. For a programmer, Linux is a dream come true. All of the source code is available, all of the operating system features are enabled, a large number of excellent first-rate software development tools exist, and it is all freely available, being constantly tested and improved by thousands of programmers around the world. Linux empowers the programmer with open source, open information, and open standards. Given this outstanding basis for development, it is no wonder that programmers in every conceivable application area (including 3D graphics) have flocked to Linux. This has created a wealth of 3D libraries, tools, and applications for Linux. Linux is, therefore, an outstanding software development platform with powerful 3D tools and software—an ideal environment for learning and practicing 3D graphics programming. A final, personal goal of this text, and the main reason I am writing this book, is to impart to you a sense of the excitement that 3D graphics programming offers. You, the 3D programmer, have the power to model reality. You control every single z-buffered, Gourad-shaded, texture- mapped, perspective-correct, dynamically morphed, 24-bit, real-time pixel on the flat 2D screen, and amazingly, your painstakingly coded bits and bytes merge to form a believable 3D Introduction xiii world. By working under Linux, you are no longer held back by a lack of tools or software. It’s all out there—free for download and top quality. Linux software gives you the tools you need to realize your 3D ideas.

2014-09-21

LET'S BUILD A COMPILER Tutorial

这是一份非常有意思的文档,作者是一位物理学博士,但他对编译器有浓厚的兴趣,在经历了漫长的研究之后,他在自己的电脑上实现了一个编译器的原型。 他觉得很有必要把这些经历和如何实现的要诀分享给大家,于是就自己编写了一本书。这本书不是某个出版社出版的,纯粹是Jack W. Crenshaw博士的一本自编书籍。写作的风格不拘小节,读起来实践性很强。对编译器感兴趣的话可以跟他一起尝试一下。

2014-09-15

Wind Turbine Control Algorithms (DOWEC)

DOWEC是一个丹麦牵头的研究项目,旨在设计一款6MW海上风力发电机。这篇文献是该项目中描述控制算法设计的报告,对于搞风电机组控制系统的软件开发人员是一份难得的资料。

2014-09-09

Applying UML and Paterns

本书的主旨: Help students and developers create object designs through the application of a set of explainable principles and heuristics. By studying and applying the information and techniques presented here, you will become more adept at understanding a problem in terms of its processes and concepts, and designing a solid solution using objects. 针对的读者: This book is an introduction to OOA/D, related requirements analysis, and to iterative development with the Unified Process as a sample process; it is not meant as an advanced text. It is for the following audience: • Developers and students with experience in an object-oriented programming language, but who are new—or relatively new—to object-oriented analysis and design. • Students in computer science or software engineering courses studying object technology. • Those with some familiarity in OOA/D who want to learn the UML notation, apply patterns, or who want to sharpen and deepen their analysis and design skills. 总体上,从行文结构和单词量看,应该是难度偏易。对于英文基础中上的读者没有阅读难度。

2014-09-04

Embedded Control Systems in C/C++ Using MATLAB

这本书适合初级及中级开发人员针对控制系统进行开发,其中详细的给出了一些典型控制算法的C和C++语言实现。对于没有太多自动控制背景知识的开发人员也有一定帮助,不过如果开发人员有控制系统基础知识(包括经典控制理论、状态空间、最优控制基础知识、卡尔曼滤波等等)能更好的使用这本书。 以下是目录: Embedded Control Systems in C/C++—An Introduction for Software Developers Using MATLAB Preface Chapter 1 - Control Systems Basics Chapter 2 - PID Control Chapter 3 - Plant Models Chapter 4 - Classical Control System Design Chapter 5 - Pole Placement Chapter 6 - Optimal Control Chapter 7 - MIMO Systems Chapter 8 - Discrete-Time Systems and Fixed-Point Mathematics Chapter 9 - Control System Integration and Testing Chapter 10 - Wrap-Up and Design Example

2014-08-22

Microsoft.Windows.Internals (4th Edition)

本书覆盖了Windows系统编程的核心内容,建议中高级读者阅读。以下摘自书籍概述(Overview)。 The premier guide to the Windows kernel now covers Windows Server 2003, Windows XP, and Windows 2000, including 64-bit extensions. Get the architectural perspectives and insider insights needed to unlock the power of Windows. 以下为目录: Copyright Historical Perspective Foreword Acknowledgments Introduction Structure of the Book History of the Book Fourth Edition Changes Hands-On Experiments Topics Not Covered A Warning and Caveat Support About the Authors David Solomon Mark Russinovich Chapter 1. Concepts and Tools Windows Operating System Versions Foundation Concepts and Terms Digging into Windows Internals Conclusion Chapter 2. System Architecture Requirements and Design Goals Operating System Model Architecture Overview Key System Components Conclusion Chapter 3. System Mechanisms Trap Dispatching Object Manager Synchronization System Worker Threads Windows Global Flags Local Procedure Calls (LPCs) Kernel Event Tracing Wow64 Conclusion Chapter 4. Management Mechanisms The Registry Services Windows Management Instrumentation Conclusion Chapter 5. Startup and Shutdown Boot Process Troubleshooting Boot and Startup Problems Shutdown Conclusion Chapter 6. Processes, Threads, and Jobs Process Internals Flow of CreateProcess Thread Internals Examining Thread Activity Thread Scheduling Job Objects Conclusion Chapter 7. Memory Management Introduction to the Memory Manager Services the Memory Manager Provides System Memory Pools Virtual Address Space Layouts Address Translation Page Fault Handling Virtual Address Descriptors Section Objects Working Sets Logical Prefetcher Page Frame Number Database Conclusion Chapter 8. Security Security Ratings Trusted Computer System Evaluation Critiera The Common Criteria Security System Components Protecting Objects Account Rights and Privileges Security Auditing Logon Software Restriction Policies Conclusion Chapter 9. I/O System I/O System Components Device Drivers I/O Processing The Plug and Play (PnP) Manager The Power Manager Conclusion Chapter 10. Storage Management Storage Terminology Disk Drivers Volume Management Conclusion Chapter 11. Cache Manager Key Features of the Cache Manager Cache Virtual Memory Management Cache Size Cache Data Structures File System Interfaces Fast I/O Read Ahead and Write Behind Conclusion Chapter 12. File Systems Windows File System Formats File System Driver Architecture Troubleshooting File System Problems NTFS Design Goals and Features NTFS File System Driver NTFS On-Disk Structure NTFS Recovery Support Encrypting File System Security Conclusion Chapter 13. Networking Windows Networking Architecture Networking APIs Multiple Redirector Support Name Resolution Protocol Drivers NDIS Drivers Binding Layered Network Services Conclusion Chapter 14. Crash Dump Analysis Why Does Windows Crash? The Blue Screen Crash Dump Files Windows Error Reporting Online Crash Analysis Basic Crash Dump Analysis Using Crash Troubleshooting Tools Advanced Crash Dump Analysis Glossary Index

2014-08-22

Windows Sytem Programming

Windows Sytem Programming

2009-05-11

C++ Template Metaprogramming

C++ Template Metaprogramming sheds light on the most powerful idioms of today's C++, at long last delivering practical metaprogramming tools and techniques into the hands of the everyday programmer. <br><br>A metaprogram is a program that generates or manipulates program code. Ever since generic programming was introduced to C++, programmers have discovered myriad "template tricks" for manipulating programs as they are compiled, effectively eliminating the barrier between program and metaprogram. While excitement among C++ experts about these capabilities has reached the community at large, their practical application remains out of reach for most programmers. This book explains what metaprogramming is and how it is best used. It provides the foundation you'll need to use the template metaprogramming effectively in your own work.<br><br>This book is aimed at any programmer who is comfortable with idioms of the Standard Template Library (STL). C++ power-users will gain a new insight into their existing work and a new fluency in the domain of metaprogramming. Intermediate-level programmers who have learned a few advanced template techniques will see where these tricks fit in the big picture and will gain the conceptual foundation to use them with discipline. Programmers who have caught the scent of metaprogramming, but for whom it is still mysterious, will finally gain a clear understanding of how, when, and why it works. All readers will leave with a new tool of unprecedented power at their disposalthe Boost Metaprogramming Library.<br><br>The companion CD-ROM contains all Boost C++ libraries, including the Boost Metaprogramming Library and its reference documentation, along with all of the book's sample code and extensive supplementary material. <br>

2007-11-01

C++ Templates-The Complete Guide

C++ Templates begins with an insightful tutorial on basic concepts and language features. The remainder of the book serves as a comprehensive reference, focusing first on language details, then on a wide range of coding techniques, and finally on advanced applications for templates. Examples used throughout the book illustrate abstract concepts and demonstrate best practices.<br><br>Readers learn<br><br>The exact behaviors of templates <br><br>How to avoid the pitfalls associated with templates <br><br>Idioms and techniques, from the basic to the previously undocumented <br><br>How to reuse source code without threatening performance or safety <br><br>How to increase the efficiency of C++ programs <br><br>How to produce more flexible and maintainable software<br><br><br>This practical guide shows programmers how to exploit the full power of the template features in C++.<br><br>

2007-11-01

Inside the 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>Explores the program behavior implicit in the C++ Object Model's support of object-oriented programming. <br><br>Explains the basic implementation of the object-oriented features and the trade offs implicit in those features. <br><br>Examines the impact on performance in terms of program transformation. <br><br>Provides abundant program examples, diagrams, and performance measurements to relate object-oriented concepts to the underlying object model. <br><br><br>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!<br><br>

2007-11-01

Beyond.the.C++ - Standard.Library.An.Introduction.to.Boost

Introducing the Boost libraries: the next breakthrough in C++ programming<br><br>Boost takes you far beyond the C++ Standard Library, making C++ programming more elegant, robust, and productive. Now, for the first time, a leading Boost expert systematically introduces the broad set of Boost libraries and teaches best practices for their use.<br><br>Writing for intermediate-to-advanced C++ developers, Björn Karlsson briefly outlines all 58 Boost libraries, and then presents comprehensive coverage of 12 libraries you're likely to find especially useful. Karlsson's topics range from smart pointers and conversions to containers and data structures, explaining exactly how using each library can improve your code. He offers detailed coverage of higher-order function objects that enable you to write code that is more concise, expressive, and readable. He even takes you "behind the scenes" with Boost, revealing tools and techniques for creating your own generic libraries.<br><br>Coverage includes<br><br>Smart pointers that provide automatic lifetime management of objects and simplify resource sharing<br><br>Consistent, best-practice solutions for performing type conversions and lexical conversions<br><br>Utility classes that make programming simpler and clearer<br><br>Flexible container libraries that solve common problems not covered by the C++ Standard Library<br><br>Powerful support for regular expressions with Boost.Regex<br><br>Function objects defined at the call site with Boost.Bind and Boost.Lambda<br><br>More flexible callbacks with Boost.Function<br><br>Managed signals and slots (a.k.a. the Observer pattern) with Boost.Signals<br><br>The Boost libraries are proving so useful that many of them are planned for inclusion in the next version of the C++ Standard Library. Get your head start now, with Beyond the C++ Standard Library.<br><br>

2007-11-01

C++ Standard Library: A Tutorial and Reference

C++ Standard Library: A Tutorial and ReferenceBy Nicolai M. Josuttis Publisher : Addison Wesley Pub Date : August 06, 1999 ISBN : 0-201-37926-0 Pages : 832 Content------------------PrefaceAcknowledgmentsChapter 1. About this Book1.1 Why this Book1.2 What You Should Know Before Reading this Book1.3 Style and Structure of the Book1.4 How to Read this Book1.5 State of the Art1.6 Example Code and Additional Information1.7 FeedbackChapter 2. Introduction to C++ and the Standard Library2.1 History2.2 New Language Features2.3 Complexity and the Big-O NotationChapter 3. General Concepts3.1 Namespace 3.2 Header Files3.3 Error and Exception Handling3.4 AllocatorsChapter 4. Utilities4.1 Pairs4.1.1 Convenience Function 4.1.2 Examples of Pair Usage4.2 Class 4.3 Numeric Limits4.4 Auxiliary Functions4.5 Supplementary Comparison Operators4.6 Header Files Chapter 5. The Standard Template Library5.1 STL Components5.2 Containers5.3 Iterators5.4 Algorithms5.5 Iterator Adapters5.6 Manipulating Algorithms5.7 User-Defined Generic Functions5.8 Functions as Algorithm Arguments5.9 Function Objects5.10 Container Elements5.11 Errors and Exceptions Inside the STL5.12 Extending the STLChapter 6. STL Containers6.1 Common Container Abilities and Operations6.2 Vectors6.3 Deques6.4 Lists6.5 Sets and Multisets6.6 Maps and Multimaps6.7 Other STL Containers6.8 Implementing Reference Semantics6.9 When to Use which Container6.10 Container Types a

2007-05-03

The C++ Standard Library - A Tutorial and Reference

C++ Standard Library: A Tutorial and Reference, <br/>By Nicolai M. Josuttis <br/> <br/>Publisher : Addison Wesley <br/>Pub Date : August 06, 1999 <br/>ISBN : 0-201-37926-0 <br/>Pages : 832 <br/> <br/>C++ Standard Library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components-and to benefit from their power-you need a resource that does far more than list the classes and their functions.<br/><br/>The C++ Standard Library not only provides comprehensive documentation of each library component, it also offers clearly written explanations of complex concepts, describes the practical programming details needed for effective use, and gives example after example of working code.<br/><br/>This thoroughly up-to-date book reflects the newest elements of the C++ standard library incorporated into the full ANSI/ISO C++ language standard. In particular, the text focuses on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms. You will also find detailed coverage of special containers, strings, numerical classes, internationalization, and the IOStream library. Each component is presented in depth, with an introduction to its purpose and design, examples, a detailed description, traps and pitfalls, and the exact signature and definition of its classes and their functions. An insightful introduction to fundamental concepts and an overview of the library will help bring newcomers quickly up to speed.<br/><br/>Comprehensive, detailed, readable, and practical, The C++ Standard Library is the C++ resource you will turn to again and again. <br/><br/><br/>Content<br/>--------------------<br/>Preface<br/><br/>Acknowledgments<br/><br/>Chapter 1. About this Book<br/><br/> 1.1 Why this Book<br/><br/> 1.2 What You Should Know Before Reading this Book<br/><br/> 1.3 Style and Structure of the Book<br/><br/> 1.4 How to Read this Book<br/><br/> 1.5 State of the Art<br/><br/> 1.6 Example Code and Additional Information<br/><br/> 1.7 Feedback<br/><br/>Chapter 2. Introduction to C++ and the Standard Library<br/><br/> 2.1 History<br/><br/> 2.2 New Language Features<br/><br/> 2.3 Complexity and the Big-O Notation<br/><br/>Chapter 3. General Concepts<br/><br/> 3.1 Namespace <br/><br/> 3.2 Header Files<br/><br/> 3.3 Error and Exception Handling<br/><br/> 3.4 Allocators<br/><br/>Chapter 4. Utilities<br/><br/> 4.1 Pairs<br/><br/> 4.1.1 Convenience Function <br/><br/> 4.1.2 Examples of Pair Usage<br/><br/> 4.2 Class <br/><br/> 4.3 Numeric Limits<br/><br/> 4.4 Auxiliary Functions<br/><br/> 4.5 Supplementary Comparison Operators<br/><br/> 4.6 Header Files <br/><br/>Chapter 5. The Standard Template Library<br/><br/> 5.1 STL Components<br/><br/> 5.2 Containers<br/><br/> 5.3 Iterators<br/><br/> 5.4 Algorithms<br/><br/> 5.5 Iterator Adapters<br/><br/> 5.6 Manipulating Algorithms<br/><br/> 5.7 User-Defined Generic Functions<br/><br/> 5.8 Functions as Algorithm Arguments<br/><br/> 5.9 Function Objects<br/><br/> 5.10 Container Elements<br/><br/> 5.11 Errors and Exceptions Inside the STL<br/><br/> 5.12 Extending the STL<br/><br/>Chapter 6. STL Containers<br/><br/> 6.1 Common Container Abilities and Operations<br/><br/> 6.2 Vectors<br/><br/> 6.3 Deques<br/><br/> 6.4 Lists<br/><br/> 6.5 Sets and Multisets<br/><br/> 6.6 Maps and Multimaps<br/><br/> 6.7 Other STL Containers<br/><br/> 6.8 Implementing Reference Semantics<br/><br/> 6.9 When to Use which Container<br/><br/> 6.10 Container Types and Members in Detail<br/><br/>Chapter 7. STL Iterators<br/><br/> 7.1 Header Files for Iterators<br/><br/> 7.2 Iterator Categories<br/><br/> 7.3 Auxiliary Iterator Functions<br/><br/> 7.4 Iterator Adapters<br/><br/> 7.5 Iterator Traits<br/><br/>Chapter 8. STL Function Objects<br/><br/> 8.1 The Concept of Function Objects<br/><br/> 8.2 Predefined Function Objects<br/><br/> 8.3 Supplementary Composing Function Objects<br/><br/>Chapter 9. STL Algorithms<br/><br/> 9.1 Algorithm Header Files<br/><br/> 9.2 Algorithm Overview<br/><br/> 9.3 Auxiliary Functions<br/><br/> 9.4 The for_each() Algorithm<br/><br/> 9.5 Nonmodifying Algorithms<br/><br/> 9.6 Modifying Algorithms<br/><br/> 9.7 Removing Algorithms<br/><br/> 9.8 Mutating Algorithms<br/><br/> 9.9 Sorting Algorithms<br/><br/> 9.10 Sorted Range Algorithms<br/><br/> 9.11 Numeric Algorithms<br/><br/>Chapter 10. Special Containers<br/><br/> 10.1 Stacks<br/><br/> 10.2 Queues<br/><br/> 10.3 Priority Queues<br/><br/> 10.4 Bitsets<br/><br/>Chapter 11. Strings<br/><br/> 11.1 Motivation<br/><br/> 11.2 Description of the String Classes<br/><br/> 11.3 String Class in Detail<br/><br/>Chapter 12. Numerics<br/><br/> 12.1 Complex Numbers<br/><br/> 12.2 Valarrays<br/><br/> 12.3 Global Numeric Functions<br/><br/>Chapter 13. Input/Output Using Stream Classes<br/><br/> 13.1 Common Background of I/O Streams<br/><br/> 13.2 Fundamental Stream Classes and Objects<br/><br/> 13.3 Standard Stream Operators << and >><br/><br/> 13.4 State of Streams<br/><br/> 13.5 Standard Input/Output Functions<br/><br/> 13.6 Manipulators<br/><br/> 13.7 Formatting<br/><br/> 13.8 Internationalization<br/><br/> 13.9 File Access<br/><br/> 13.10 Connecting Input and Output Streams<br/><br/> 13.11 Stream Classes for Strings<br/><br/> 13.12 Input/Output Operators for User-Defined Types<br/><br/> 13.13 The Stream Buffer Classes<br/><br/> 13.14 Performance Issues<br/><br/>Chapter 14. Internationalization<br/><br/> 14.1 Different Character Encodings<br/><br/> 14.2 The Concept of Locales<br/><br/> 14.3 Locales in Detail<br/><br/> 14.4 Facets in Detail<br/><br/>Chapter 15. Allocators<br/><br/> 15.1 Using Allocators as an Application Programmer<br/><br/> 15.2 Using Allocators as a Library Programmer<br/><br/> 15.3 The Default Allocator<br/><br/> 15.4 A User-Defined Allocator<br/><br/> 15.5 Allocators in Detail<br/><br/> 15.6 Utilities for Uninitialized Memory in Detail<br/><br/>Internet Resources<br/><br/>Bibliography<br/><br/>

2007-05-03

Memory Management - Algorithms and Implementation in CC++

Memory Management: Algorithms and Implementation in C/C++ <br/>by Bill Blunden ISBN:1556223471 <br/><br/>Wordware Publishing © 2003 (360 pages) <br/><br/>This book presents several concrete implementations of garbage collection and explicit memory management algorithms.<br/> <br/>Table of Contents <br/> Memory Management—Algorithms and Implementation in C/C++ <br/>· Introduction <br/>· Chapter 1 - Memory Management Mechanisms <br/>· Chapter 2 - Memory Management Policies <br/>· Chapter 3 - High-Level Services <br/>· Chapter 4 - Manual Memory Management <br/>· Chapter 5 - Automatic Memory Management <br/>· Chapter 6 - Miscellaneous Topics <br/>· Index <br/>· List of Figures <br/>· List of Tables <br/>· List of Case Studies <br/>· List of Sidebars <br/>

2007-05-03

A_Tutorial_on_Principal_Component_Analysis

Principal component analysis (PCA) is a mainstay of modern data analysis - a black box that is widely used but (sometimes) poorly understood. The goal of this paper is to dispel the magic behind this black box. This manuscript focuses on building a solid intuition for how and why principal component analysis works. This manuscript crystallizes this knowledge by deriving from simple intuitions, the mathematics behind PCA. This tutorial does not shy away from explaining the ideas informally, nor does it shy away from the mathematics. The hope is that by addressing both aspects, readers of all levels will be able to gain a better understanding of PCA as well as the when, the how and the why of applying this technique.

2016-01-13

C++ for Neural-Networks-and fuzzy logic

在实际开发项目中,使用MATLAB的神经网络工具箱和模糊逻辑工具箱设计算法然后用Coder将算法转换为高级语言。然后使用过Coder的用户就知道,一定有部分应用场景需要直接用高级语言编写算法。这本书就是为此目的编写。 书是以网页形式组织的,其中ewtoc.htm是目录。主要章节如下。 ------------------------------------------------------------- • Chapter 1 gives you an overview of neural network terminology and nomenclature. You discover that neural nets are capable of solving complex problems with parallel computational architectures. The Hopfield network and feedforward network are introduced in this chapter. • Chapter 2 introduces C++ and object orientation. You learn the benefits of object-oriented programming and its basic concepts. • Chapter 3 introduces fuzzy logic, a technology that is fairly synergistic with neural network problem solving. You learn about math with fuzzy sets as well as how you can build a simple fuzzifier in C++. • Chapter 4 introduces you to two of the simplest, yet very representative, models of: the Hopfield network, the Perceptron network, and their C++ implementations. • Chapter 5 is a survey of neural network models. This chapter describes the features of several models, describes threshold functions, and develops concepts in neural networks. • Chapter 6 focuses on learning and training paradigms. It introduces the concepts of supervised and unsupervised learning, self-organization and topics including backpropagation of errors, radial basis function networks, and conjugate gradient methods. • Chapter 7 goes through the construction of a backpropagation simulator. You will find this simulator useful in later chapters also. C++ classes and features are detailed in this chapter. • Chapter 8 covers the Bidirectional Associative memories for associating pairs of patterns. • Chapter 9 introduces Fuzzy Associative memories for associating pairs of fuzzy sets. • Chapter 10 covers the Adaptive Resonance Theory of Grossberg. You will have a chance to experiment with a program that illustrates the working of this theory. • Chapters 11 and 12 discuss the Self-Organizing map of Teuvo Kohonen and its application to pattern recognition. • Chapter 13 continues the discussion of the backpropagation simulator, with enhancements made to the simulator to include momentum and noise during training. • Chapter 14 applies backpropagation to the problem of financial forecasting, discusses setting up a backpropagation network with 15 input variables and 200 test cases to run a simulation. The problem is approached via a systematic 12-step approach for preprocessing data and setting up the problem. You will find a number of examples of financial forecasting highlighted from the literature. A resource guide for neural networks in finance is included for people who would like more information about this area. • Chapter 15 deals with nonlinear optimization with a thorough discussion of the Traveling Salesperson problem. You learn the formulation by Hopfield and the approach of Kohonen. • Chapter 16 treats two application areas of fuzzy logic: fuzzy control systems and fuzzy databases. This chapter also expands on fuzzy relations and fuzzy set theory with several examples. • Chapter 17 discusses some of the latest applications using neural networks and fuzzy logic.

2015-11-24

MATLAB Coder User Guide 2015

MATLAB Coder User Guide 2015(官方文档) 在MATLAB中开发完算法后,往往需要把算法转换成高级语言的源程序,之后对转化的源程序再进行工程化开发。Coder可以帮助开发人员自动化的完成大部分转化功能。尽管一些与矩阵运算的功能仍然要手动优化,但是框架代码的转化可以自动化实现。

2015-11-22

MATLAB 2014b 安装序列号

MATLAB2014b; 安装序列号(测试环境ubuntu 14.10, 64位)

2015-02-25

MATLAB 2014b 许可协议文件

MATLAB 2014b 许可协议文件(Linux,64位,Ubuntu14.10已测试)

2015-02-25

MATLAB 2014b 破解文件

MATLAB 2014b Linux破解文件, libmwservices.so

2015-02-25

MATLAB 2014b 安装镜像修改文件

MATLAB 2014b 安装镜像修改文件,用于替换镜像中原有install.jar,否则产品列表中只有有限的几项可以选择。

2015-02-25

Nerual Network Design(神经网络设计, Hagan)

Nerual Network Design (2nd Edition) Content Ch 2 Neuron Model and Network Architectures Ch 3 An Illustrative Example Ch 4 Perceptron Learning Rule Ch 5 Signal and Weight Vector Spaces Ch 6 Linear Transformations for Neural Networks Ch 7 Supervised Hebbian Learning Ch 8 Performance Surfaces and Optimum Points Ch 9 Performance Optimization Ch 10 Widrow-Hoff Learning Ch 11 Backpropagation Ch 12 Variations on Backpropagation Ch 13 Generalization Ch 14 Dynamic Networks Ch 15 Associative Learning Ch 16 Competitive Networks Ch 17 Radial Basis Networks Ch 18 Grossberg Network Ch 19 Adaptive Resonance Theory Ch 20 Stability Ch 21 Hopfield Network Ch 22 Practical Training Issues Ch 23 Case Study 1:Function Approximation Ch 24 Case Study 2:Probability Estimation Ch 25 Case Study 3:Pattern Recognition Ch 26 Case Study 4: Clustering Ch 27 Case Study 5: Prediction

2015-02-08

Neural Network Toolbox Getting Started Guide

神经网络现在又重新回到很多人关注的焦点中,所以特地把MATLAB 2014A中有关神经网络的工具箱使用资料分享给大家。 以下是目录摘要: ----------------------------------------------------- Automatic Script Generation . . . . 1-6 Neural Network Toolbox Applications . 1-7 Neural Network Design Steps . . . . . 1-9 Fit Data with a Neural Network . . . 1-10 Defining a Problem. . . . . . . . . . 1-10 Using the Neural Network Fitting Tool . . 1-12 Using Command-Line Functions . . . . . . . 1-23 Classify Patterns with a Neural Network . . 1-33 Defining a Problem . . . . . . . . . . .. . 1-33 Using the Neural Network Pattern Recognition Tool .. 1-35 Using Command-Line Functions . . . . . . . . . . . . 1-47 Cluster Data with a Self-Organizing Map . . . . . . 1-56 Defining a Problem . . . . . . . . . . . . . . . . . 1-56 vii Using the Neural Network Clustering Tool ... . . 1-57 Using Command-Line Functions . . . . . . . . .. . . 1-67 Neural Network Time Series Prediction and Modeling . . . . . . . . . . . . . . . . . . . 1-75 Defining a Problem . . . . . . . . . . . . . . 1-75 Using the Neural Network Time Series Tool . . . . . 1-76 Using Command-Line Functions . . . . . . . . . . . . 1-88 Parallel Computing on CPUs and GPUs . . . . . . . . .1-99 Parallel Computing Toolbox . . . . . . . . . . . . . 1-99 Parallel CPU Workers . . . . . . . . . . . . . . . . 1-99 GPU Computing . . . .. . . . . . . . . . . . . . . . 1-100 Multiple GPU/CPU Computing . . . . . . . . . . . . . 1-100 Cluster Computing with MATLAB Distributed Computing Server . . . . . . . . . . . . . . . . . . . . . . . 1-101 Load Balancing, Large Problems, and Beyond . . . . . 1-101 Neural Network Toolbox Sample Data Sets . . . . . . 1-103

2015-02-03

Windows System Programming 勘误表和注释

这是Windows System Programming的勘误表,供参考。

2014-10-16

Wind Turbine Control Systems - Principles,Modelling and Gain Scheduling Design

这是目前为止我见过的最完整的使用LPV增益调度(Linear Parameter Varying Gain Scheduling)方法对风电机组控制系统进行描述的专著。其中,详细的给出了定桨变速和变桨变速机型完整的建模过程和分析过程,其中相当一部分内容可以使用MATLAB Robust Control Toolbox进行验证。 这本书属于控制理论的中高级参考资料,如果希望深入理解全书的内容,建议先仔细研究一下周克敏编著的《鲁棒与最优控制》。不过,即使暂时不使用LPV增益调度方法进行算法的编写,也可以从这本书中关于定桨变速和变桨变速功率控制过程的详细分析中受益。 这本书机械工业出版社有中文版,但是我从摘要内容看翻译质量不佳,所以希望本书的读者且有且珍惜。^_^

2014-10-16

How to think like a computer scientist [C++version].

本书是从方法论的视角来介绍C++语言,重点阐述了C++基础本分的主要内容。它适合完全没有编程基础的人学习C++。尽管教材有点老,例如很多语法的运用还是C++98之前的语句。不过,作为入门教材并不影响学习。 目录: Ch1: The way of the program Ch2: Variables and types Ch3: Function Ch4: Conditions and recursion Ch5: Fruitful functions Ch6: Iteration Ch7: Strings and things Ch8: Structures Ch9: More Structures Ch10: Vectors Ch11: Member functions Ch12: Vectors of objects Ch13: Objects of vectors Ch14: Classes and invariants Ch15: File input/output and apmatrixes Annex A:Quick references for AP Classes

2014-09-28

C++ Template Metaprogramming 原书附带示例代码

这是C++ Template Metaprogramming原书附带的例子代码,可以方便各位进行研习,请首先编译开篇的第一个例子,以测试你手头的编译器对模板的支持程度。 另,有的亲反映上载的书无法打开,可能是Windows7进行了权限控制,请选择文件,然后单击右键选“属性”,然后选“解除锁定”就可以阅读了。

2014-09-22

Code Optimization Effective.Memory.Usage

推荐做移动开发和嵌入式系统的人抽空演习一下,尽管硬件资源越来越廉价,但是如何有效地利用各种资源譬如存储器是高手成长的必经之路。 Table of Contents --------------------------------------------- Code Optimization—Effective Memory Usage Introduction to Optimization Chapter 1 - Program Profiling Chapter 2 - RAM Subsystem Chapter 3 - Cache Subsystem Chapter 4 - Machine Optimization On the CD-ROM Index List of Figures List of Tables List of Listings Intended Audience -------------------------------- This book describes the organization, architecture, and mechanisms of interaction between various hardware components. It focuses on efficient programming and code-optimization techniques, at the level of machine code and of data structures. The book is oriented toward application programmers with some experience in C/C++ programming, as well as toward system programmers with knowledge of the assembly language. However, the optimization techniques described here are not bound to any high-level programming language. Thus, knowledge of C is required only for understanding the source code provided in this book. I also hope that this book will be useful to hardware specialists and technicians — especially those who build and fine-tune computers. I tried to provide detailed descriptions of the hardware operating principles and discuss the bottlenecks of the most common hardware components. Most materials provided in this book are based on my experience. All information has been tested and checked carefully. However, I can't guarantee that it is free of errors. (After all, "there is always one more bug.") The materials of the book are mainly applicable to the AMD Athlon and the Intel Pentium II, Pentium III, and Pentium 4 microprocessors. Earlier processors are mentioned and considered when necessary.

2014-09-22

Memory.Management - Algorithms and Implementation in C/C++

一本有关内存管理的专著,以下是目录和针对读者说明。 Content -------------------------------- Introduction 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 Audience -------------------------- This book is directed toward professional developers and students who are interested in discovering how memory is managed on production systems. Specifically, engineers working on PC or embedded operating systems may want to refresh their memory or take a look at alternative approaches. If this is the case, then this book will serve as a repository of algorithms and software components that you can apply to your day-to-day issues. Professionals who design and construct development tools will also find this book useful. In general, development tools fall into the class of online transaction processing (OLTP) programs. When it comes to OLTP apps, pure speed is the name of the game. As such, programming language tools, like compilers, often make use of suballocators to speed up the performance of the code that manipulates their symbol table. With regard to compiling large software programs consisting of millions of lines of code, this type of suballocator-based optimization can mean the difference between waiting for a few minutes and waiting for a few hours. Anyone who mucks around with suballocators will find this book indispensable. Software engineers who work with virtual machines will also be interested in the topics that I cover. The Java virtual machine is famous for its garbage collection facilities. In this book I explore several automatic memory management techniques and also provide a couple of concrete garbage collection implementations in C++. Finally, this book also targets the curious. There is absolutely nothing wrong with being curious. In fact, I would encourage it. You may be an application developer who has used memory management facilities countless times in the past without taking the time to determine how they really work. You may also have nurtured an interest that you have had to repress due to deadlines and other priorities. This book will offer such engineers an opportunity to indulge their desire to see what is going on under the hood.

2014-09-22

The Art of C++

请注意本书不是入门教程,一本面向中高级C++开发者的书,对于某些章节,例如AI的应用,最好有一定的基础才方便阅读。原书的内容概述如下。特别提示:本书各章节相对独立,可以分开阅读。 What’s Inside (The Art of C++) This book is different from most other books on C++. Whereas other books teach the basics of the language, this book shows how to apply it to a wide range of interesting, useful, and, at times, mysterious programming tasks. In the process, it displays the power and elegance of the C++ language. Thus, it is through the art of C++ that the artistry of C++’s design is displayed. In general, the book contains two types of applications. The first type I call “pure code” because they focus on expanding the C++ programming environment, itself. The garbage collector in Chapter 2, the thread control panel in Chapter 3, and the custom STL container in Chapter 8 are examples. The second type shows how C++ can be applied to a variety of computing tasks. For example, Chapter 5 develops a restartable Internet downloader, Chapter 6 shows how to create financial applications, and Chapter 8 applies C++ to Artificial Intelligence. The book ends with a unique and interesting piece of code: the Mini C++ interpreter, which interprets a small subset of C++. Mini C++ gives insight into how the keywords and syntax of C++ work together to create the grammar of the language. Moreover, it lets you get “inside the language,” showing some of the reasons behind C++’s design. Although Mini C++ is fun to use as-is, it can also serve as a starting point for your own language development, or be adapted to work as an interpreter for any other language. Each chapter develops code that you can use as-is, without changes. For example, the garbage collector in Chapter 2 is applicable to many programming tasks. However, the real benefits result when you use the applications as starting points for your own development. For example, the Internet file downloader in Chapter 8 could be enhanced to start a download at a specific time, or to watch a download site, waiting to download until an updated file is posted. In general, think of the various programs and subsystems as launching pads for your own projects.

2014-09-22

空空如也

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

TA关注的人

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