On Wednesday 21 February 2007 23:27, Shriramana Sharma wrote: > Hello. I am trying the examples from Bruce Eckel's Thinking in C++ 2nd > edn and am getting a problem. I have attached the examples I am using > and the error messages (basically the same kind) which I got. I am > unable to understand what is wrong when I have followed the book example > perfectly (AFAIK) except for the variablenames which is immaterial. > > Please explain what I did wrong. I am using: > > $ g++ -v > Using built-in specs. > Target: i486-linux-gnu > Configured with: ../src/configure -v > --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr > --enable-shared --with-system-zlib --libexecdir=/usr/lib > --without-included-gettext --enable-threads=posix --enable-nls > --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu > --enable-libstdcxx-debug --enable-mpfr --enable-checking=release > i486-linux-gnu > Thread model: posix > gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5) > > Thank you. > > Shriramana Sharma. Remove the space in ". *" and "-> *". - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html