-------------------------------------------------------------------------------- From: Ji Xihuang-XJI01 Sent: Friday, October 14, 2005 12:37 PM To: 'smeyers@aristeia.com' Subject: typo? and static with extern Hi, Scott, I bought Effective C++ (Version 3) this week. I like it and is reading it. I have two issues: 1. On page 52 paragraph 2, lines 3 and 4, Should 'that' be 'than' in: ... more convenient(and more readable) that going through contortions in the member initialization list to .... ? 2. Page 30 talking about non-local static objects. As I understand, if you declare one object, say, static FileSystem tfs; in file A.C The linker will complain when you have: exterm FileSytem tfs; //as shown on page 30 in file B.C I means this extern on page 30 will not be invalid? ============================================================================================= The following shows the output when I declared static int i; in A.C and extern int i in B.C and when I compiled the two files: CC A.C -o a.o B.C A.C: B.C: Undefined first referenced symbol in file i B.o ld: fatal: Symbol referencing errors. No output written to a.o shell returned 1 Thank you. Ed Ji Microsoft Certified Professional xji01@email.mot.com