D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] C++ Question

 

On Thu, 5 Mar 2009, Simon Waters wrote:

> Gordon Henderson wrote:
>>
>> atoi() l

l => Keyboard off-by-one error..

> Examples -- hmm I'm sure there must be a way to find out which Debian
> packages are written in C++ - Neil? ("apt-cache rdepends g++" isn't
> quite right, but may well be good enough). Then one can "apt-get source"
> and you'll have more C++ than you could possibly want.

Slay me for this, but:

   #!/bin/csh
   cd /usr/bin
   foreach f (*)
     echo $f
     ldd $f | fgrep ++
   end

A few:

aspell
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7dfd000)


dselect
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7f82000)

eqn
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e0b000)

ghostscript
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7342000)


html2text
         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e65000)


etc.

Gordon

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html