读《Ivor Horton's beginning Visual C++ 2010》有感

72 篇文章 0 订阅
13 篇文章 0 订阅
最近花了5天左右的时间读了[1],并且按照书中的介绍,一步一步地实现了书中所有的代码。我对Visual C++、MFC、.Net下C++项目编程有了更深刻的理解,对于实际项目的实现过程有了一次深刻的体验。对于入门级的书籍来说,我强烈推荐此书,原因如下:
  1. 前面11章的Native C++部分讲解清晰,每个概念和知识点都会讲解它们的地位作用,实际的使用方法,循序渐进,循循善诱,为读者着想,结合Visual studio 2010 (VS2010)讲解,不仅学习了C++语言,更学会了操作这些语言的IDE工具—VS2010。而不像有的书籍,你需要根据学过的知识来猜测作者遗漏的一些操作细节。可以看出本书作者的用心。
  2.  后面的13到20章,以一个Sketcher 项目贯穿始终,重点讲解了MFC的使用方法,SDI和MDI (Multiple Document Inferface)架构的安排,更加该项目的实际的需求,递进、逐步的讲解了Menubar、Toolbar、ContextMenu、drawing in MFC、document and view、dialog and related controls、object serialization and document printing、DLL等的使用方面,使你对Windows下的事件驱动、消息传递、事件处理(Event-handler)机制有了一个透彻的理解。更关键的是,你能学会如何充分利用IDE—VS2010 加速你的编程(如,快速定位类、函数等,本书对VS2010 绝大部分的菜单项都进行了使用,还有一些快捷键,是你感到VS2010的所有功能都暴露在了你的面前,并且在学习的过程中,你也可以与make 中相应的命令对应。)。跟随作者的讲解,你可以充分的感受和使用一些你没有用过的VS2010 的功能,你可充分感受到图形界面编程的机制及其中的乐趣。我感觉有了此书,在加上算法设计与分析方面的训练,可以直接从事项目开发了。
  3.  本书就是奔着帮你开发项目的方向去的,第12章专门讲解VS2010下的调试,快速定位代码中存在的问题。各种各样的调试技术,初学应该学习的和以前的旧观念没有意识到的。
  4.  会帮助你深刻理解.lib、.dll等文件的地位和作用,会开发出自己的dll,和在一个项目中使用第三方的dll,
                     If you plan to distribute program code in the form of a DLL foruse by other programmers, you need to distribute all three filesin the package. For applications that already use the DLL, onlythe .dll file is required to go along with .exe file that uses it[1].

总之,通过此书,我收获了很多,感受到了图形界面编程带来的快乐。实际上图形界面编程并不涉及什么理论知识,关键是要掌握事件和消息的处理机制,及MFC 的API。MFC 的地位和作用与Linux 下的Qt 相似。废话不用多说,建议你去阅读这本洋洋洒洒1200多页的书吧,虽然网络编程、数据库编程等方面没涉及到。


References

[1] Ivor Horton. Ivor Horton’s beginning Visual C++ 2010. Wrox/Wiley Pub, Indianapolis, Ind, 2010.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
一直在找这本Ivor Horton(霍顿)写的《Visual C++2008入门经典》中文版的书,据说非常经典。今天有幸终于找到了,赶紧上传和大家一起分享。请下载过的朋友支持鉴定一下。 注意:网上那些所谓的《Visual C++2008入门经典》如果附件大小小于60M的,如果不是英文版那肯定是假的。 文件大小:136M 页数:1142页 共6个部分 如果喜欢,请购买正版! 《Visual C++2008入门经典》内容提要 内容简介: 本书系编程语言先驱者Ivor Horton的经典之作,是C++编程方面最畅销的图书品种之一,不仅涵盖了Visual C++ 2008编程知识,还全面介绍了标准C++语言和C++/CLI。本书延续了Ivor Horton讲解编程语言的独特方法,从中者可以学习Visual C++ 2008的基础知识,了解如何使用MFC进行本地ISO/ANSI C++ Windows应用程序开发以及如何使用Windows Forms进行C++/CLI Windows应用程序开发,并全面掌握在MFC和Windows Forms中访问数据源的技术。此外,本书各章后面的习题将有助于者温故而知新,并尽快成为C++高效程序员。 《Visual C++2008入门经典》图书目录 第1章 使用Visual C++ 2008编程 第2章 数据、变量和计算 第3章 判断和循环 第4章 数组、字符串和指针 第5章 程序结构(1) 第6章 程序结构(2) 第7章 自定义数据类型 第8章 深入理解类 第9章 类继承和虚函数 第10章 标准模板库 第11章 调试技术 第12章 Windows编程的概念 第13章 使用MFC编写Windows程序 第14章 处理菜单和工具栏 第15章 在窗口中绘图 第16章 创建文档和改进视图 第17章 使用对话框和控件 第18章 存储和打印文档 第19章 编写自己的DLL 第20章 连接到数据源 第21章 更新数据源 第22章 Windows Forms应用程序进阶 第23章 在Windows Forms 应用程序中访问数据源 附录A C++关键字 附录B ASCII码 附录C Windows消息类型
Product Description The leading author of programming tutorials for beginners introduces you to Visual C++ 2010 Ivor Horton is the preeminent author of introductory programming language tutorials; previous editions of his Beginning Visual C++ have sold nearly 100,000 copies. This book is a comprehensive introduction to both the Standard C++ language and to Visual C++ 2010; no previous programming experience is required. All aspects of the 2010 release are covered, including changes to the language and the C++ standard.. Microsoft Visual C++ is one of the most popular C++ development environments and compilers, used by hundreds of thousands of developers Ivor Horton's approach to programming tutorials has achieved a huge following; this book gives beginning programmers a comprehensive introduction to both Standard C++ and Visual C++ 2010 Covers all the language changes in Visual C++ 2010, library additions, new MFC features, changes in the Visual Studio development environment, and more Also includes a brief introduction to programming for multicore processors in native C++ and C++/CLR processors Nearly 100,000 copies of this book have been sold in previous editions Beginners seeking a complete education in Visual C++ will find everything they need in Ivor Horton's Beginning Visual C++ 2010. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file. From the Back Cover Build real-world applications as you dive into C++ development By following author Ivor Horton's accessible tutorial approach and detailed examples you can quickly become an effective C++ programmer. Thoroughly updated for the 2010 release, this book introduces you to the latest development environment and teaches you how to build real-world applications using Visual C++. With this book by your side, you are well on your way to writing applications in both versions of C++ and becoming a successful C++ programmer. Ivor Horton's Beginning Visual C++ 2010: Teac

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值