Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2010 01:41:53 +0200
From:      "C. P. Ghost" <cpghost@cordula.ws>
To:        Gary Kline <kline@thought.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: are the are C [or C++] src sites ....
Message-ID:  <q2xd74eb87c1004111641q770659aczad7d72aaa284dbb6@mail.gmail.com>
In-Reply-To: <20100411223916.GB17162@thought.org>
References:  <20100410151842.GA99692@thought.org> <20100410194515.GA96745@comcast.net> <20100411223916.GB17162@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 12, 2010 at 12:39 AM, Gary Kline <kline@thought.org> wrote:
>
> =A0 =A0 =A0=A0 what i am thinking of is functions that work in any of
> =A0 =A0 =A0 =A0several venues:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0math,

For maths, I'm particularly fond of GiNaC (+CLN)
  FreeBSD ports: math/GiNaC, math/cln
  WWW: http://www.ginac.de/ and http://www.ginac.de/CLN/

Of course, there's also the more traditional stuff like math/atlas[-devel]
which takes forever to compile. ;-)

> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[every] science,

Very application specific.

> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0strings,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0filenames,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0queues,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0stacks,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0arrays,

If you're interested in C++ classes for all this, you could check
out the STL (Standard Templates Library), and additional libraries
like Boost.

> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0thanks for your insights. =A0i used someth=
ing like
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0"c-language functions" =A0:-)

That's way too broad to yield useful results! :-)

I'd suggest that you browse the ports collection for stuff you like
(domain oriented), and in most cases, the ports will point to some
library or program written in C or C++ that you can learn from. Just
looking for C/C++ code per se is kind of pointless (IMHO), if you're
not motivated by a particular application.

-cpghost.

--=20
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?q2xd74eb87c1004111641q770659aczad7d72aaa284dbb6>