CPPBaseLearning

所属分类:其他小程序
开发工具:C/C++
文件大小:191KB
下载次数:3
上传日期:2009-03-19 14:16:00
上 传 者morry
说明:  C++基础知识,对类的继承及重载等多种特性有着详细的说明
(C++ basic knowledge of category, such as inheritance and laden with a variety of features detailed)

文件列表:
CHAP-16 (0, 2009-01-16)
CHAP-16\CLINEFAQ.H (26, 1995-12-19)
CHAP-16\FAQ-196.C (1037, 1995-12-19)
CHAP-16\FAQ-197.C (1050, 1995-12-19)
CHAP-16\FAQ-198.C (1094, 1995-12-19)
CHAP-16\FAQ-200.C (1164, 1995-12-19)
CHAP-16\FAQ-203.C (1446, 1995-12-19)
CHAP-16\FAQ-204.C (2704, 1995-12-19)
CHAP-16\FAQ-205.C (1578, 1995-12-19)
CHAP-16\FAQ-208.C (944, 1995-12-19)
CHAP-16\FAQ-209.C (1413, 1995-12-19)
CHAP-16\FAQ-459.H (2183, 1995-12-19)
CHAP-16\FAQ-460.H (1357, 1995-12-19)
CHAP-16\HEAPPTR.H (25, 1995-12-19)
CHAP-16\STRING.H (24, 1995-12-19)
CHAP-17 (0, 2009-01-16)
CHAP-17\CLINEFAQ.H (26, 1995-12-19)
CHAP-17\FAQ-213.C (1017, 1995-12-19)
CHAP-17\FAQ-214.C (1046, 1995-12-19)
CHAP-17\FAQ-216.C (1080, 1995-12-19)
CHAP-17\FAQ-217.C (933, 1995-12-19)
CHAP-17\FAQ-218.C (1898, 1995-12-19)
CHAP-17\FAQ-219.C (1361, 1995-12-19)
CHAP-17\FAQ-220A.C (2162, 1995-12-19)
CHAP-17\FAQ-220B.C (2162, 1995-12-19)
CHAP-17\FAQ-220C.C (2162, 1995-12-19)
CHAP-18 (0, 2009-01-16)
CHAP-18\CLINEFAQ.H (26, 1995-12-19)
CHAP-18\FAQ-222.C (971, 1995-12-19)
CHAP-18\FAQ-225.C (1359, 1995-12-19)
CHAP-18\FAQ-226.C (2432, 1995-12-19)
CHAP-19 (0, 2009-01-16)
CHAP-19\CLINEFAQ.H (26, 1995-12-19)
CHAP-19\FAQ-228.C (1195, 1995-12-19)
CHAP-19\FAQ-232.C (1116, 1995-12-19)
CHAP-19\FAQ-235.C (1225, 1995-12-19)
CHAP-19\FAQ-236.C (1522, 1995-12-19)
CHAP-19\FAQ-238.C (1208, 1995-12-19)
CHAP-19\FAQ-240A.C (1162, 1995-12-19)
CHAP-19\FAQ-240B.C (1320, 1995-12-19)
... ...

These files are useful in compiling the code from the book, "C++ FAQs." The book, "C++ FAQs" is by Marshall P. Cline and Greg A. Lomow, Copyright (C) 1994, Addison-Wesley Publishers, Inc. ISBN: 0-201-58958-3, softcover, 480 pp. These files are presented for their instructional value. They have been tested with care, but it is not guaranteed for any particular purpose. Neither the publisher nor the authors offer any warranties or representations, nor do they accept any liabilities with respect to this code. The sample code from each FAQ is found in the subdirectories below this one. E.g., the code for FAQ 67 in chapter 5 is in the file "chap-05/faq-067.C". Each such ".C" file starts by #including this file "clinefaq.h". If your compiler doesn't support a particular feature used by the examples, you can install appropriate typedefs, macros, etc, into "clinefaq.h". HOW TO COMPILE: #1: Select the best Makefile from the following list: Makefile.att ... for Cfront on Unix Makefile.bcc ... for Borland C++ on DOS or OS/2 Makefile.gcc ... for GNU C++ ("g++") on Unix Makefile.icc ... for IBM CSet++ on OS/2 Makefile.mac ... for Symmantic C++ on Macintosh Makefile.scc ... for Symmantic C++ on DOS or OS/2 Makefile.tcc ... for Borland C++ on DOS or OS/2 Makefile.xlC ... for IBM xlC++ on Unix #2: Rename your Makefile choice to "Makefile". #3: (If you don't see your compiler on the above, choose the one that you think is closest and tweak it until it's right. You'll probably have to also tweak "clinefaq.h". In any event, please send us the finished file(s), and we'll put your Makefile into the FTP directory for others to use.) #4: Build something: To make all examples from all chapters, simply say: make To make examples from 1 chapter (e.g., chapter 10): make ALL_FROM_10 To make one example (e.g., chapter 10's FAQ 116): make chap-10/faq-116 For DOS or OS/2, add ".exe" or ".obj"; e.g., make chap-10/faq-116.exe Enjoy! Marshall and Greg

近期下载者

相关文件


收藏者