Giter VIP home page Giter VIP logo

acceleratedcppwinsource's Introduction

The files in this directory and its associated subdirectories contain
the source code from the book ``Accelerated C++: Practical Programming
by Example'' by Andrew Koenig and Barbara E. Moo (Addison-Wesley 2000,
ISBN 0-201-70353-X).  They are mechanically extracted from the files
that are used to produce the book.  Accordingly, they should match the
book exactly--specifically, the fifth printing, which isn't out
yet--except for some deliberate changes that are needed to deal with
the realities of running C++ programs.

We have compiled and run these files on two different compilers:

	The GNU ``g++'' compiler, version 2.95.2, under both
	the Solaris operating system and Microsoft Windows,
	the latter under the Cygwin programming environment
	available from http://sources.redhat.com/cygwin

	The Microsoft Visual C++ compiler, version 6.0, with
	Service Pack 4 or 5 installed.

In order to run these files under these compilers, we have had to
change them slightly from what appears in the book.  In all cases, we
have identified these changes with #ifdef directives of the form

	#ifdef __GNUC__
		code that will work under the g++ compiler
	#else
		code as it appears in the book
	#endif

or
	#ifdef _MSC_VER
		code that will work under the Microsoft compiler
	#else
		code as it appears in the book
	#endif

or variations on this theme.  You can find more information about
workarounds necessary for the Microsoft compiler in msbugs.htm in
this folder, or on http://www.acceleratedcpp.com/details/msbugs.html

In addition, we have added main programs, test data, and makefiles to
enable you to compile and run the code.

For each chapter in the book, there is a corresponding directory that
contains the source code from that chapter.  Assuming that your
system is configured correctly, you should be able to go into any of
these directories and say

	nmake

to compile the programs,

	nmake test

to execute them, and

	nmake clobber

to remove all the files that were generated during compilation.



All of the files in these directories are copyrighted by AT&T and
Barbara E. Moo, and they come with absolutely no warranty whatsoever.
Permission is hereby granted to use these programs for educational
purposes.

We would like to know about errors in these files and suggestions for
making them easier to use with other compilers.






					Regards,


					Andrew Koenig
					[email protected]


					Barbara E. Moo
					[email protected]

acceleratedcppwinsource's People

Contributors

cooperniu avatar

Stargazers

Shuyue Jia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.