Ray lichner - exploring c++ the programmers introduction to c++

704 279 0
Ray lichner  - exploring c++ the programmers introduction to c++

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Đây là quyển sách tiếng anh về lĩnh vực công nghệ thông tin cho sinh viên và những ai có đam mê. Quyển sách này trình về lý thuyết ,phương pháp lập trình cho ngôn ngữ C và C++.

[...]... confident that the error lies with the tools and not with you, check the date of publication If the tools predate 1998, discard them immediately They predate the standard and therefore, by definition, they cannot conform to the standard In fact, the quality of C++ tools has improved tremendously in the last few years; so much so that I recommend discarding any tools that predate 2005 If the tools are recent,... unique to C++ The trap is most perilous for C programmers because C++ bears the greatest superficial similarity with C C programmers, therefore, have the most to overcome By design, many C programs are also valid C++ programs, leading the unwary C programmer into the trap of thinking that good C programs are also good C++ programs In fact, C and C++ are distinct INTRODUCTION languages, each with their... with them and their proper use If you need to acquire your own tools, check out this book’s web site, Tool versions and quality change too rapidly to provide details in print form, so you can find up -to- date suggestions on the web site The following section gives some general advice Ray s Recommendations C++ is one of the most widely used programming languages in the world: it is second only to C... IDE, find the Compile or Build button or menu item If you are using command-line tools, be sure to link the program, too For historical (or hysterical) reasons, UNIX tools such as g++ typically produce an executable program named You should rename it to something more useful, or use the option to name an output file Table 1-2 shows sample command lines to use for Visual C++ and g++ Table 1-2 Sample... a part-time endeavor When he isn’t working, Ray has a variety of other part-time, unpaid jobs: chef, taxi driver, house cleaner, arbitrator, soccer coach, banker, tooth fairy, story reader, and chief enforcer of the domestic nocturnal preparation procedure, just to name a few The best way to contact Ray is via email to xxi About the Technical Reviewer FRANCIS GLASSBOROW read Mathematics at Merton College,... which is a port of the popular GNU compiler to Windows Note that C++/ CLI is not the same as C++ It is a new language that Microsoft invented to help integrate C++ into the NET environment That’s why it chose a name that incorporates C++, just as the name C++ derives from the name C It is, however, a distinct language from C This book covers standard C++ and nothing else If you decide to use Visual Studio,... command line You may need to type the complete path to the executable file, or just the program name—again, this depends on your operating system When you run the program, it reads numbers from the standard input stream, which means whatever you type, the program reads You then need to notify the program you are done by pressing the magic keystrokes that signal end-of-file On most UNIX-like operating systems,... Perl to AWK to C#, not to mention C++ As a result, many programmers who do not know C or C++ nonetheless find many language constructs hauntingly familiar You might even feel confident enough to skip sections of this book that seem to cover old ground Don’t do that! From the start, the lessons present language features that are unique to C++ In a few, isolated cases, I will tell you when it is safe to. .. idiosyncrasies To become an effective C++ programmer, you must learn the C++ way of programming C programmers need to break some of their established habits and learn to avoid certain C features (such as arrays) in favor of better C++ idioms The structure of this book helps you get started thinking in terms of C++, not C Projects This book also contains four projects The projects are opportunities to apply... create classroom situations in which students have the opportunity to adjust their own models Although the research has focused on teachers, the same applies to authors In other words, I cannot teach you C++, but I can create explorations that enable you to learn C++ Explorations are not the only way to apply research to learning and writing, but they are a technique that I have refined over several . the publisher. ISBN-13 (pbk): 97 8-1 -5 905 9-7 4 9-1 ISBN-10 (pbk): 1-5 905 9-7 4 9-4 ISBN-13 (electronic): 97 8-1 -4 30 2-1 89 5-1 Printed and bound in the United States. alt="" Ray Lischner Exploring C++ The Programmer’s Introduction to C++ Exploring C++: The Programmer’s Introduction to C++ Copyright © 2009 by Ray Lischner All

Ngày đăng: 19/03/2014, 14:12

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan