04.01.2015 Views

Thinking in C++ 2nd ed Volume 1 Revision 6

Thinking in C++ 2nd ed Volume 1 Revision 6

Thinking in C++ 2nd ed Volume 1 Revision 6

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(significantly!) to compile under <strong>C++</strong>. Add<strong>ed</strong> several new examples.<br />

Much of the prose <strong>in</strong> this chapter still ne<strong>ed</strong>s work, and more<br />

patterns and examples are forthcom<strong>in</strong>g. Chang<strong>ed</strong> ExtractCode.cpp<br />

so that it generates “bugs” targets for each makefile, conta<strong>in</strong><strong>in</strong>g all<br />

the files that won’t compile with a particular compiler so they can<br />

be re-check<strong>ed</strong> with new compilers. Generates a master <strong>in</strong> the book’s<br />

root directory call<strong>ed</strong> makefile.bugs that descends <strong>in</strong>to each<br />

subdirectory and executes make with “bugs” as a target and the –i<br />

flag so you’ll see all the errors.<br />

TICA11, January 7, 1999. Complet<strong>ed</strong> the STL Algorithms chapter<br />

(significant additions and changes), <strong>ed</strong>it<strong>ed</strong> and add<strong>ed</strong> examples to<br />

the STL conta<strong>in</strong>ers chapter. Add<strong>ed</strong> many exercises at the ends of<br />

both chapters. I consider these both complet<strong>ed</strong> now. Add<strong>ed</strong> an<br />

example or two to the str<strong>in</strong>gs chapter.<br />

TICA10, December 28, 1998. Complete rewrite of the<br />

ExtractCode.cpp program to automatically generate makefiles for<br />

each compiler that the book tests, exclud<strong>in</strong>g files that the compiler<br />

can’t handle. (These are <strong>in</strong> a special list <strong>in</strong> the appendices, so you<br />

can see what breaks a compiler and you can create your own.) You<br />

now don’t ne<strong>ed</strong> to extract the files yourself (although you still can,<br />

for special cases) but <strong>in</strong>stead you just download and unzip a file. All<br />

the files <strong>in</strong> the book (with the exception of the files that are still <strong>in</strong><br />

Java) now compile with at least one Standard <strong>C++</strong> compiler. Add<strong>ed</strong><br />

the trim.h, SiteMapConvert.cpp, and Str<strong>in</strong>gCharReplace.cpp<br />

examples to the str<strong>in</strong>gs chapter. Add<strong>ed</strong> the ProgVals example to<br />

Chapter 20. Remov<strong>ed</strong> all the strlwr( ) uses (it’s a non-standard<br />

function).<br />

TICA9, December 15, 1998. Massive work complet<strong>ed</strong> on the STL<br />

Algorithms chapter; it’s quite close to be<strong>in</strong>g f<strong>in</strong>ish<strong>ed</strong>. The long delay<br />

was because (1) This chapter took a lot of research and th<strong>in</strong>k<strong>in</strong>g,<br />

<strong>in</strong>clud<strong>in</strong>g other research such as templates; you’ll notice the<br />

“advanc<strong>ed</strong> templates” chapter has more <strong>in</strong> its outl<strong>in</strong>e (2) I was<br />

travel<strong>in</strong>g and giv<strong>in</strong>g sem<strong>in</strong>ars, etc. I’m enter<strong>in</strong>g a two-month hiatus<br />

where I’m primarily work<strong>in</strong>g on the book and should get a lot<br />

accomplish<strong>ed</strong>.<br />

TICA8, September 26, 1998. Complet<strong>ed</strong> the STL conta<strong>in</strong>ers chapter.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!