请问对于新人有没有比C++ primer更适合的入门书?(比如 ...

来源:百度文库 编辑:超级军网 时间:2024/05/02 01:38:57
如题,primer确实名声在外,但是我在看的时候发现这本书几乎没怎么讲一些我敢兴趣的基础知识。比如内存堆和栈的问题,变量在内存中的管理之类的,以及程序编译时的一些基础概念。这些c++ primer中都没有讲到,这样在理解一些东西的时候就容易产生困惑。
所以在此请教大神,有没有其他的经典教材提到了上述的一些基础概念,更适合初学者理解的书籍如题,primer确实名声在外,但是我在看的时候发现这本书几乎没怎么讲一些我敢兴趣的基础知识。比如内存堆和栈的问题,变量在内存中的管理之类的,以及程序编译时的一些基础概念。这些c++ primer中都没有讲到,这样在理解一些东西的时候就容易产生困惑。
所以在此请教大神,有没有其他的经典教材提到了上述的一些基础概念,更适合初学者理解的书籍
我找了找,这本书可能符合要求
Memory as a Programming Concept in C and C++
by Frantisek Franek   
Cambridge University Press 2004 (272 pages)
ISBN:052181720X
This methodical text aspires to present various information relevant to operating systems, computer architecture, compilers, principles of programming languages, and C and C++ programming, specifically.



Table of Contents  
Memory as a Programming Concept in C and C++  
Chapter 1 - Introduction
Chapter 2 - From Source File to Executable File
Chapter 3 - Variables and Objects; Pointers and Addresses
Chapter 4 - Dynamic Allocation and Deallocation of Memory
Chapter 5 - Functions and Function Calls
Chapter 6 - One-Dimensional Arrays and Strings
Chapter 7 - Multi-Dimensional Arrays
Chapter 8 - Classes and Objects
Chapter 9 - Linked Data Structures
Chapter 10 - Memory Leaks and Their Debugging
Chapter 11 - Programs in Execution: Processes and Threads
Appendix One - Hanoi Towers Puzzle
Appendix Two - Tracing Objects in C++
Appendix Three - Tracing Objects and Memory in C++
Appendix Four - Thread-Safe and Process-Safe Reporting and Logging Functions
Glossary  
List of Figures  
感觉刘振安的 c++及windows可视化编程比较不错,适合入门
c++ primer这玩意真心不是入门用的,内容全面当字典用差不多,有一定经验的看一遍补一下遗漏知识点不错

c++ primer plus这个更简单一些,据说更适合入门。

如果想了解计算机的基本概念上的东西,《深入理解计算机系统》非常不错,就是书比较厚,要有耐心看下去,但内容一流,看完了大有收益。
楼主该看的是操作系统分析一类的书,Primer讲的是C++编程的知识。
cpp,primer不是拿来入门的……
入门和培养兴趣,head first系列不错,不过好像没有C艹的,可以看head first c嘛
vxcy 发表于 2013-9-14 16:31
我找了找,这本书可能符合要求
Memory as a Programming Concept in C and C++
by Frantisek Franek   
...
非常感谢,不过我网上搜了下,没找到pdf版,下了一个chm版的,但是打开之后没有内容,不知道您有没有这本书的电子版,方便的话可以发给我么?这是我的邮箱top12000@163.com,谢谢!
我感觉楼主更适合看深入理解计算机系统这本书,看他还是需要很好的c语言和汇编语言基础的,不然像我这种都看不下去……