Beginning C++ in FreeBSD

Sergey Zaharchenko doublef at tele-kom.ru
Tue Apr 27 03:24:35 PDT 2004


On Mon, Apr 26, 2004 at 05:43:35AM -0400,
 Rahul Siddharthan probably wrote:
> Chris Pressey wrote:
> > 
> > A single Greek word for which there isn't an equivalent English word,
> > phrase, sentence, paragraph, essay, book, or library would be enough
> > though.
> 
> Which has very little relevance to programming languages.  Anything
> that can be done in one Turing-complete language can be done in
> another Turing-complete language.  The trade-off is in development
> time ("expressiveness") and running time.
> 

// Turing strikes again:)
// Ok. Write this (to be compiled as a shared object) in portable C:

#include <iostream>

class A
{
public:
	A();
};

A::A()
{
	cout<<"This shared library was loaded!"<<endl;
}

static A a;

-- 
DoubleF
Adolescence, n.:
	The stage between puberty and adultery.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-chat/attachments/20040426/a4f1570f/attachment.bin


More information about the freebsd-chat mailing list