Re: Beginning C++ in FreeBSD

[ Available lists | Index of freebsd-chat | Month of Apr 2004 | Week of 27 Apr 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Sergey Zaharchenko <doublef@tele-kom.ru>
Date
27 Apr 2004 03:24:35
Subject
Re: Beginning C++ in FreeBSD
Message-ID
20040426115842.GA4144@Shark.localdomain

In reply to

[ Hide this part ]
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.


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.156 seconds