当前位置: 首页 > 编程日记 > 正文

C++ Primer(第4版)(评注版)

《C++ Primer(第4版)(评注版)》
基本信息
原书名: C++ Primer (4th Edition)
原出版社: Addison-Wesley Professional; 4 edition
作者: (美)Stanley B.Lippman Josee Lajoie Barbara E.Moo
译者: 陈硕
丛书名: 传世经典书丛
出版社:电子工业出版社
ISBN:9787121174414
上架时间:2012-8-9
出版日期:2012 年7月
开本:16开
页码:662
版次:1-1
所属分类: 计算机 > 软件与程序设计 > C++ > C++


更多关于 》》》《C++ Primer(第4版)(评注版)》
内容简介
书籍
计算机书籍
  《c++ primer》是一本系统而权威的c++教材,它全面而深入地讲解了c++语言及其标准库。本书作者stanley b. lippman在20世纪80年代早期即在c++之父bjarne stroustrup领导下开发c++编译器,另一作者josée lajoie曾多年担任c++标准委员会核心语言组主席,他们对这门编程语言的理解与把握非常人可比。本书对c++语法和语义的阐释兼具准确性与可读性,在坊间无出其右者。第4版更吸收了先进的c++教学经验,在内容组织上对初学者更加友好,详略得当且重点突出,使读者能更快上手编写有用的程序,也更适合自学。全球已有45万人通过该书的各个版本学习了c++编程。
  对于国外技术图书,选择翻译版还是影印版,常常让人陷入两难的境地。本评注版力邀国内资深专家执笔,在英文原著基础上增加中文点评与注释,旨在融合二者之长,既保留经典的原创文字与味道,又以先行者的学研心得与实践感悟,对读者阅读与学习加以点拨、指明捷径。
  经过评注的版本,更值得反复阅读与体会。希望这本书能够帮助您跨越c++的重重险阻,领略高处才有的壮美风光,做一个成功而快乐的c++程序员。
目录
《c++ primer(第4版)(评注版)》
preface xxiv
chapter 1 getting started (新增评注29 条)
1.1 writing a simple c++program
1.1.1 compiling and executing our program
1.2 afirstlookat input/output
1.2.1 standardinput andoutputobjects
1.2.2 aprogramthatuses the iolibrary
1.3 awordaboutcomments
1.4 control structures
1.4.1 the whilestatement
1.4.2 the forstatement
1.4.3 the ifstatement
1.4.4 readinganunknownnumberof inputs
1.5 introducingclasses
1.5.1 the sales_itemclass
1.5.2 afirstlookatmemberfunctions.
1.6 the c++program
part i the basics
chapter 2 variables and basic types(新增评注42 条)
2.1 primitivebuilt-intypes
2.1.1 integraltypes
2.1.2 floating-pointtypes
2.2 literalconstants
2.3 variables
2.3.1 what is avariable?
2.3.2 thenameof avariable
2.3.3 definingobjects
2.3.4 variableinitializationrules
2.3.5 declarations anddefinitions
2.3.6 scopeof aname
2.3.7 definevariableswheretheyareused
2.4 constqualifier
2.5 references
2.6 typedefnames
2.7 enumerations
2.8 classtypes
2.9 writing our own header files
2.9.1 designingourownheaders
2.9.2 abrief introductiontothepreprocessor
chapter 3 library types (新增评注30 条)
3.1 namespace usingdeclarations
3.2 library stringtype
3.2.1 defining and initializing strings
3.2.2 reading andwriting strings
3.2.3 operations on strings
3.2.4 dealing with the characters of a string
3.3 library vectortype
3.3.1 defining and initializing vectors
3.3.2 operations on vectors
3.4 introducingiterators
3.4.1 iteratorarithmetic
3.5 library bitsettype
3.5.1 defining and initializing bitsets
3.5.2 operations on bitsets
chapter 4 arrays and pointers (新增评注33 条)
4.1 arrays
4.1.1 definingandinitializingarrays
4.1.2 operationsonarrays
4.2 introducingpointers
4.2.1 what is apointer?
4.2.2 definingandinitializingpointers
4.2.3 operationsonpointers
4.2.4 usingpointers toaccessarrayelements
4.2.5 pointers and the constqualifier
4.3 c-stylecharacterstrings
4.3.1 dynamicallyallocatingarrays
4.3.2 interfacingtooldercode
4.4 multidimensionedarrays
4.4.1 pointers andmultidimensionedarrays
chapter 5 expressions (新增评注49 条)
5.1 arithmeticoperators
5.2 relational andlogicaloperators
5.3 thebitwiseoperators
5.3.1 using bitsetobjectsor integralvalues
5.3.2 usingthe shiftoperators for io
5.4 assignmentoperators
5.4.1 assignment isrightassociative
5.4.2 assignmenthaslowprecedence
5.4.3 compoundassignmentoperators
5.5 increment anddecrementoperators
5.6 thearrowoperator
5.7 theconditionaloperator
5.8 the sizeofoperator
5.9 commaoperator
5.10 evaluatingcompoundexpressions
5.10.1 precedence
5.10.2 associativity
5.10.3 orderofevaluation
5.11 the new and deleteexpressions
5.12 typeconversions
5.12.1 whenimplicittypeconversionsoccur
5.12.2 thearithmeticconversions
5.12.3 other implicitconversions
5.12.4 explicitconversions
5.12.5 whencastsmightbeuseful
5.12.6 namedcasts
5.12.7 old-stylecasts
chapter 6 statements (新增评注29 条)
6.1 simple statements
6.2 declarationstatements
6.3 compoundstatements (blocks)
6.4 statementscope
6.5 the ifstatement
6.5.1 the if statement elsebranch
6.6 the switchstatement
6.6.1 using a switch
6.6.2 control flow within a switch
6.6.3 the defaultlabel
6.6.4 switchexpressionandcaselabels
6.6.5 variable definitions inside a switch
6.7 the whilestatement
6.8 the forloopstatement
6.8.1 omitting parts of the forheader
6.8.2 multiple definitions in the forheader
6.9 the do whilestatement
6.10 the breakstatement
6.11 the continuestatement
6.12 the gotostatement
6.13 tryblocks andexceptionhandling
6.13.1 a throwexpression
6.13.2 the tryblock
6.13.3 standardexceptions
6.14 using the preprocessor for debugging
chapter 7 functions (新增评注56 条)
7.1 definingafunction
7.1.1 functionreturntype
7.1.2 functionparameterlist
7.2 argumentpassing
7.2.1 nonreferenceparameters
7.2.2 referenceparameters
7.2.3 vectorandothercontainerparameters
7.2.4 arrayparameters
7.2.5 managingarrayspassedtofunctions
7.2.6 main:handlingcommand-lineoptions
7.2.7 functionswithvaryingparameters
7.3 the returnstatement
7.3.1 functionswithnoreturnvalue
7.3.2 functions thatreturnavalue
7.3.3 recursion
7.4 functiondeclarations
7.4.1 defaultarguments
7.5 localobjects
7.5.1 automaticobjects
7.5.2 staticlocalobjects
7.6 inline functions
7.7 classmemberfunctions
7.7.1 definingthebodyofamemberfunction
7.7.2 definingamemberfunctionoutside theclass
7.7.3 writing the sales_itemconstructor
7.7.4 organizing class code files
7.8 overloadedfunctions
7.8.1 overloadingandscope
7.8.2 functionmatchingandargumentconversions
7.8.3 thethreesteps inoverloadresolution
7.8.4 argument-typeconversions
7.9 pointers tofunctions
chapter 8 the io library(新增评注11 条)
8.1 anobject-orientedlibrary
8.2 condition states
8.3 managingtheoutputbuffer
8.4 file input and output
8.4.1 using file stream objects
8.4.2 file modes
8.4.3 a program to open and check input files
8.5 stringstreams
part ii containers and algorithms
chapter 9 sequential containers (新增评注54 条)
9.1 defininga sequentialcontainer
9.1.1 initializingcontainerelements
9.1.2 constraints ontypes that acontainercanhold
9.2 iterators anditeratorranges
9.2.1 iteratorranges
9.2.2 somecontaineroperations invalidateiterators
9.3 sequencecontaineroperations
9.3.1 containertypedefs
9.3.2 begin and endmembers
9.3.3 addingelements toasequentialcontainer
9.3.4 relationaloperators
9.3.5 container sizeoperations
9.3.6 accessingelements
9.3.7 erasingelements
9.3.8 assignment and swap
9.4 how a vectorgrows
9.4.1 capacity and reservemembers
9.5 decidingwhichcontainer touse
9.6 stringsrevisited
9.6.1 other ways to construct strings
9.6.2 other ways to change a string
9.6.3 string-onlyoperations
9.6.4 stringsearchoperations
9.6.5 comparing strings
9.7 containeradaptors
9.7.1 stackadaptor
9.7.2 queue andpriorityqueue
chapter 10 associative containers (新增评注22 条)
10.1 preliminaries: the pairtype
10.2 associativecontainers
10.3 the maptype
10.3.1 defining a map
10.3.2 types defined by map
10.3.3 adding elements to a map
10.3.4 subscripting a map
10.3.5 using map::insert
10.3.6 finding and retrieving a mapelement
10.3.7 erasing elements from a map
10.3.8 iterating across a map
10.3.9 awordtransformationmap
10.4 the settype
10.4.1 defining and using sets
10.4.2 buildingaword-exclusionset
10.5 the multimap and multisettypes
10.5.1 addingandremovingelements
10.5.2 finding elements in a multimap or multiset
10.6 usingcontainers: text-queryprogram
10.6.1 designof thequeryprogram
10.6.2 textqueryclass
10.6.3 using the textqueryclass
10.6.4 writingthememberfunctions
chapter 11 generic algorithms (新增评注18 条)
11.1 overview.
11.2 afirstlookat thealgorithms
11.2.1 read-onlyalgorithms
11.2.2 algorithms thatwritecontainerelements
11.2.3 algorithms thatreordercontainerelements
11.3 revisiting iterators
11.3.1 insert iterators
11.3.2 iostream iterators
11.3.3 reverse iterators
11.3.4 const iterators 7
11.3.5 thefive iteratorcategories
11.4 structureofgenericalgorithms
11.4.1 algorithmparameterpatterns
11.4.2 algorithmnamingconventions
11.5 container-specificalgorithms
part iii classes and data abstraction
chapter 12 classes 429(新增评注26 条)
12.1 classdefinitions anddeclarations
12.1.1 classdefinitions: arecap
12.1.2 dataabstractionandencapsulation
12.1.3 moreonclassdefinitions
12.1.4 classdeclarationsversusdefinitions
12.1.5 classobjects
12.2 the implicit thispointer
12.3 classscope
12.3.1 namelookupinclassscope
12.4 constructors
12.4.1 theconstructor initializer
12.4.2 defaultarguments andconstructors
12.4.3 thedefaultconstructor
12.4.4 implicitclass-typeconversions
12.4.5 explicit initializationofclassmembers
12.5 friends
12.6 staticclassmembers
12.6.1 staticmemberfunctions
12.6.2 staticdatamembers
chapter 13 copy control (新增评注30 条)
13.1 thecopyconstructor
13.1.1 the synthesizedcopyconstructor
13.1.2 definingourowncopyconstructor
13.1.3 preventingcopies
13.2 theassignmentoperator
13.3 thedestructor
13.4 amessage-handlingexample
13.5 managingpointermembers
13.5.1 definingsmartpointerclasses
13.5.2 defining valuelike classes
chapter 14 overloaded operations and conversions (新增评注31 条)
14.1 defininganoverloadedoperator
14.1.1 overloadedoperatordesign
14.2 input andoutputoperators
14.2.1 overloading the output operator [
14.2.2 overloading the input operator ]
14.3 arithmetic andrelationaloperators
14.3.1 equalityoperators
14.3.2 relationaloperators
14.4 assignmentoperators
14.5 subscriptoperator
14.6 memberaccessoperators
14.7 increment anddecrementoperators
14.8 calloperatorandfunctionobjects
14.8.1 usingfunctionobjectswithlibraryalgorithms
14.8.2 library-definedfunctionobjects
14.8.3 functionadaptors forfunctionobjects
14.9 conversions andclasstypes
14.9.1 whyconversionsareuseful
14.9.2 conversionoperators
14.9.3 argumentmatchingandconversions
14.9.4 overloadresolution andclassarguments
14.9.5 overloading,conversions, andoperators
part iv object-oriented and generic programming
chapter 15 object-oriented programming (新增评注56 条)
15.1 oop:anoverview
15.2 definingbaseandderivedclasses
15.2.1 definingabaseclass
15.2.2 protectedmembers
15.2.3 derivedclasses
15.2.4 virtualandothermemberfunctions
15.2.5 public,private,andprotectedinheritance
15.2.6 friendshipandinheritance
15.2.7 inheritance andstaticmembers
15.3 conversions andinheritance
15.3.1 derived-to-baseconversions
15.3.2 conversions frombasetoderived
15.4 constructors andcopycontrol
15.4.1 base-classconstructors andcopycontrol
15.4.2 derived-classconstructors
15.4.3 copycontrol andinheritance
15.4.4 virtualdestructors
15.4.5 virtuals inconstructors anddestructors
15.5 classscopeunder inheritance
15.5.1 namelookuphappensatcompiletime
15.5.2 name collisions and inheritance
15.5.3 scopeandmemberfunctions
15.5.4 virtualfunctions andscope
15.6 purevirtualfunctions
15.7 containers andinheritance
15.8 handleclassesandinheritance
15.8.1 a pointerlike handle
15.8.2 cloninganunknowntype
15.8.3 usingthehandle
15.9 textqueriesrevisited
15.9.1 anobject-orientedsolution
15.9.2 a valuelike handle
15.9.3 the query_baseclass
15.9.4 the queryhandleclass
15.9.5 thederivedclasses
15.9.6 the evalfunctions
chapter 16 templates and generic programming (新增评注31 条)
16.1 templatedefinitions
16.1.1 definingafunctiontemplate
16.1.2 definingaclasstemplate
16.1.3 templateparameters
16.1.4 templatetypeparameters
16.1.5 nontypetemplateparameters
16.1.6 writinggenericprograms
16.2 instantiation
16.2.1 templateargumentdeduction
16.2.2 function-templateexplicitarguments
16.3 templatecompilationmodels
16.4 classtemplatemembers
16.4.1 class-templatememberfunctions
16.4.2 templatearguments fornontypeparameters
16.4.3 frienddeclarations inclasstemplates
16.4.4 queue and queueitemfrienddeclarations
16.4.5 membertemplates
16.4.6 the complete queueclass
16.4.7 staticmembersofclasstemplates
16.5 agenerichandleclass
16.5.1 definingthehandleclass
16.5.2 usingthehandle
16.6 template specializations
16.6.1 specializingafunctiontemplate
16.6.2 specializingaclasstemplate
16.6.3 specializingmembersbutnot theclass
16.6.4 class-templatepartialspecializations
16.7 overloadingandfunctiontemplates
part v advanced topics
chapter 17 tools for large programs (新增评注37 条)
17.1 exceptionhandling
17.1.1 throwinganexceptionofclasstype
17.1.2 stackunwinding
17.1.3 catchinganexception
17.1.4 rethrow
17.1.5 thecatch-allhandler
17.1.6 functiontryblocks andconstructors
17.1.7 exceptionclasshierarchies
17.1.8 automaticresourcedeallocation
17.1.9 the auto_ptrclass
17.1.10exceptionspecifications
17.1.11functionpointerexceptionspecifications
17.2 namespaces
17.2.1 namespacedefinitions
17.2.2 nestednamespaces
17.2.3 unnamednamespaces
17.2.4 usingnamespacemembers
17.2.5 classes,namespaces,andscope
17.2.6 overloadingandnamespaces
17.2.7 namespacesandtemplates
17.3 multiple andvirtual inheritance
17.3.1 multiple inheritance
17.3.2 conversions andmultiplebaseclasses
17.3.3 copycontrol formultiplyderivedclasses
17.3.4 classscopeundermultiple inheritance
17.3.5 virtual inheritance
17.3.6 virtualbaseclassdeclaration
17.3.7 special initializationsemantics
chapter 18 specialized tools and techniques (新增评注22 条)
18.1 optimizingmemoryallocation
18.1.1 memory allocation in c++
18.1.2 the allocatorclass
18.1.3 operator new and operator deletefunctions
18.1.4 placement newexpressions
18.1.5 explicitdestructor invocation
18.1.6 class specific new and delete
18.1.7 amemory-allocatorbaseclass
18.2 run-timetypeidentification
18.2.1 the dynamic_castoperator
18.2.2 the typeidoperator
18.2.3 usingrtti
18.2.4 the type_infoclass
18.3 pointer toclassmember
18.3.1 declaringapointer tomember
18.3.2 usingapointer toclassmember
18.4 nestedclasses
18.4.1 anested-class implementation
18.4.2 namelookupinnestedclassscope
18.5 union: aspace-savingclass
18.6 localclasses
18.7 inherentlynonportablefeatures
18.7.1 bit-fields
18.7.2 volatilequalifier
18.7.3 linkage directives: extern "c"
appendix a the library
a.1 librarynames andheaders
a.2 abrieftourof thealgorithms
a.2.1 algorithms tofindanobject
a.2.2 otherread-onlyalgorithms
a.2.3 binary-searchalgorithms
a.2.4 algorithms thatwritecontainerelements
a.2.5 partitioningandsortingalgorithms
a.2.6 generalreorderingoperations
a.2.7 permutationalgorithms
a.2.8 setalgorithms for sortedsequences
a.2.9 minimumandmaximumvalues
a.2.10 numericalgorithms
a.3 the iolibraryrevisited
a.3.1 formatstate
a.3.2 manymanipulatorschangetheformatstate.
a.3.3 controlling output formats
a.3.4 controlling input formatting
a.3.5 unformattedinput/outputoperations
a.3.6 single-byteoperations
a.3.7 multi-byteoperations
a.3.8 randomaccess toastream
a.3.9 reading andwriting to the same file

本图书信息来源于:中国互动出版网

相关文章:

win10安装emacs+spacemacs,建议用官方安装方式

1、下载emacs最新版 26.1 官网下载地址:https://www.gnu.org/software/emacs/download.html#nonfree 2、解压emacs到你的安装目录,我的系统是D:/Program File/。执行/bin目录下的addpm.exe 这一步会在开始菜单创建快捷方式 3、在系统环境变量中添加新项HOME(具体环…

【ACM】杭电OJ 2028

int 会 WA &#xff0c;注意使用 long long 先除后乘&#xff0c;避免超出范围&#xff0c;但好像本题先乘后除也AC #include <iostream> #include <cstdio> #include <cstring>long long lcm(long long a,long long b) {long long c,t,ma,nb;if(a<b) {…

IIS8 添加配置 WCF服务

今天在Windows8.1 操作系统部署了半天的WCF 一直老是在报错、在这里做个记录 防止下次忘记 在网上查了半天。终于知道原来IIS&#xff18;不支持WCF服务SVC的请求。所以必须要给IIS&#xff18;添加WCF服务 的Managed Handler。 添加步骤&#xff1a; &#xff11;打开IIS&a…

spacemacs各种问题修复方法

快捷键操作时报 tr不是内部命令 ------说明是缺少tr命令&#xff0c;win10可以安装coreutils for gnuwin32工具集&#xff0c;然后把bin目录加到系统path路径即可 没有ispell, flycheck error ------缺少ispell命令&#xff0c;windows下面用aspell替换&#xff0c;需要安装…

2016/08/27 What I Learned About Going Fast at eBay and Google

每天推荐一个英文视频 http://v.qq.com/page/i/2/d/i0...https://www.youtube.com/watch... 本日看点

【ACM】杭电OJ 2030

注意getchar()的使用&#xff0c;以及汉字占两个字节&#xff0c;因为比较特殊&#xff0c;可以单独记忆 #include <iostream> #include <cstdio> #include <cstring> int main () {char c;int n,i,sum;scanf("%d",&n);getchar();while(n--)…

背景图自适应屏幕居中显示,且不变形

html&#xff1a;<div classitem><div class container /> </div> css:.item {width: 100%;height: 100%;.container {max-width: 100%;height: auto;min-height: 600px; // 这里可监听屏幕变化&#xff0c;改变最小高度position: absolute;left: 50%;top:…

emacs按键绑定详解

key-binding: https://crazylxr.github.io/spacemacas-zh_CH-doc/binding-keys.html 概述&#xff1a;Emacs的键绑定方式看起来花样繁多&#xff0c;其本质上都是同一个机制 (define-key keymap key def) 这里的key是你要绑定的键。keymap是这个key所属的集合&#xff0c;不…

【面试】重建二叉树

一、描述 输入某二叉树的前序遍历和中序遍历的结果&#xff0c;请重建出该二叉树&#xff0c;假设输入的前序遍历和中序遍历的结果中都不含重复的数字&#xff0c;例如输入前序遍历序列{1,2,4,7,3,5,6,8}和中序遍历序列{4,7,2,1,5,3,8,6}&#xff0c;则重建出该二叉树。二叉树结…

【ACM】杭电OJ 2034

开了三个数组 #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <set> #include <algorithm> using namespace std; const int maxn 105; int a[maxn],b[maxn],c[maxn];…

Android 依赖库发布(上传 Library 到 JCenter)gradle最高支持4.4

1.注册 Bintray 注册时要注意哦&#xff0c;千万不要注册成组织的账户&#xff0c;一定要注册为个人。因为组织账户只有一个月的免费使用时间。 个人账户注册地址&#xff1a;bintray.com/signup/oss 有Github、Google、Twitter账号的可以直接登录哦 2.创建Maven仓库&#xff0…

emacs参考资料整理

spacemacs dired模式用法: https://blog.slegetank.com/blog/20170106-dired.htmlEmacs文件管理神器--dired常用操作说明 - 暗无天日快捷键用法&#xff1a;https://yuyang0.github.io/notes/spacemacs.htmlemacs官方参考手册&#xff1a;https://www.gnu.org/software/emacs/m…

Codeigniter文件上传类型不匹配错误

Codeigniter的文件上传类方便了我们使用PHP来处理文件上传的操作&#xff0c;使用起来非常简单&#xff0c;如下&#xff1a;$config[upload_path] ./uploads/;$config[allowed_types] gif|jpg|png;$config[max_size] 100;$config[max_width] 1024;$config[max_height] …

【ACM】杭电OJ 2036(待更)

AC代码 #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <set> #include <algorithm> using namespace std; const int maxn 105; double a[maxn][3]; int main () {in…

Spring_boot_pom.xml和启动方式

spring-boot-starter-parent 整合第三方常用框架信息(各种依赖信息) spring-boot-starter-web 是Springboot整合SpringMvc Web 实现原理:Maven依赖继承关系 相当于把第三方常用maven依赖信息,在parent项目中已经封装好了 提供依赖信息关联整合的jar包 springboot中快速原理…

ubuntu18安装virtualbox

1. 报错No rule to make target arch/x86/tools/relocs_32.c 解决办法&#xff1a;sudo apt install linux-source sudo apt-get install linux-headers-5.4.0-42:i386 安装步骤&#xff1a; https://blog.csdn.net/AAMahone/article/details/86428040 安装完成后&…

10分钟学会php面相对象基础(Ⅰ)

<?php 声明一个类 class mycar{ etc. //成员方法 } class mycar{ function drive(){ etc. } } ?> 对象的实例化 内存中分栈和堆&#xff0c;栈定长&#xff0c;堆较大不能直接访问。实例化后&#xff0c;实例名称放在栈内&#xff0c;实例放在堆内&#xff0c;通过实例…

【ACM】杭电OJ 2039

先让啊、三边边长a&#xff0c;b&#xff0c;c按从小到大顺序排列&#xff0c;然后再用两边之和大于第三边&#xff0c;两边之差小于第三边来判断 #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib&…

AI一周热闻:GitHub免费开放无限私有库;苹果市值蒸发超450亿美元;小米入股TCL...

CES 2019&#xff1a;英伟达发布RTX 2060和RTX 2080移动版小米入股TCL&#xff0c;增强供应链话语权苹果市值蒸发价值超过Facebook&#xff0c;全球市值第一不保GitHub开放无限私有仓库免费使用英特尔和Facebook等发布计算机视觉系统测试新基准旷视创建高性能的“姿态估计”网络…

ubuntu使用相关

ubuntu查看显卡驱动并安装适配的显卡驱动https://blog.csdn.net/qiancaobaicheng/article/details/95096354ubuntu20设置openssl tls versionhttps://www.coder.work/article/7495451

Atitit.提升 升级类库框架后的api代码兼容性设计指南

Atitit.提升 升级类库框架后的api代码兼容性设计指南 1. 增加api直接增加&#xff0c;版本号在注释上面增加1 2. 废弃api&#xff0c;使用主见dep1 3. 修改api&#xff0c;1 4. 修改依赖import&#xff0c;雅瑶增加文件模式。保持兼容性。。1 5. 优先选择同一个文件内的修改&am…

【ACM】杭电OJ 2040

第一个程序是 15MS #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <set> #include <algorithm> using namespace std; const int maxn 600000; int vis[maxn]; int ma…

阿里云 Aliplayer高级功能介绍(二):缩略图

为什么80%的码农都做不了架构师&#xff1f;>>> 基本介绍 Aliplayer提供了缩略图的功能&#xff0c;让用户在拖动进度条之前知道视频的内容&#xff0c;用户能够得到很好的播放体验&#xff0c;缩略图是显示在Controlbar的上面&#xff0c;并且包含当前的时间&…

【ACM】杭电OJ 2044 2045

一开始全部使用int型&#xff0c;显示WA&#xff0c;百度之后&#xff0c;要全部改成long long 两个题都是死在long long 上 #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <cstdlib> #include <s…

POJO、JavaBean、DAO

POJO POJO全称是Plain Ordinary Java Object / Plain Old Java Object&#xff0c;中文可以翻译成&#xff1a;普通Java类&#xff0c;具有一部分getter/setter方法的那种类就可以称作POJO。一般在web应用程序中建立一个数据库的映射对象时&#xff0c;我们只能称它为POJO。 Ja…

jupyter notebook用法积累(快捷键)

打开Anaconda promt&#xff0c;如果想把代打都存在H&#xff1a;\python\py&#xff0c;则输入命令 h: 回车进入h盘&#xff0c;再输入 cd python\py回车就进入这个H&#xff1a;\python\py目录下再输入jupter notebook 回车就打开了浏览器 ctrl回车 可以当前块运行&#xff0…

android资料整理

1. android native内存分析&#xff1a;全民K歌Android端Native内存分析与监控方案实践总结 - 知乎一、背景在2020年的上半年&#xff0c;我们在用户反馈后台发现闪退、白屏问题不断增多&#xff0c;这些问题严重影响用户体验。观察Crash监控平台发现Crash率也在逐步升高,其中N…

Java读取property配置文件

读取配置文件已经成了Java程序员工作的一项必备技能。 配置文件的优点&#xff1a; 可维护性好 怎么个可维护性好呢&#xff1f; 它会让程序中变化的地方很灵活的配置&#xff0c;不需要修改代码。Java程序部署到服务器上去之后就变成了class文件&#xff0c;修改困难&#xf…

【ACM】杭电OJ 2048 2049

两题均是错排公式与阶乘的运用 2048算的是一个比例&#xff0c;2049计算的是一个事情发生的总数 一个用double 来存放数据&#xff0c;一个用long long来存放数据 2048 #include <iostream> #include <cstdio> #include <cstring> #include <cmath&g…

百度成立小度蓝牙联盟,DMA+小度App打造蓝牙语音风口

人机交互经历了三个阶段键鼠、触屏和语音交互。在国外&#xff0c;谷歌、亚马逊、苹果等巨头的竞争已经到达白热化状态&#xff1b;在国内&#xff0c;百度的DuerOS正是这方面的一位大玩家。 在技术发展的各个时代中&#xff0c;提前入局的厂商&#xff0c;必然能够第一时间享…