Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2004 06:59:23 +0400
From:      Sergey Zaharchenko <doublef@tele-kom.ru>
To:        Chris Pressey <cpressey@catseye.mine.nu>
Cc:        chat@freebsd.org
Subject:   Re: Beginning C++ in FreeBSD
Message-ID:  <20040429025923.GA2015@Shark.localdomain>
In-Reply-To: <20040428101138.38e25081.cpressey@catseye.mine.nu>
References:  <20040425215837.3f4708fe.cpressey@catseye.mine.nu> <20040426094335.GA7578@online.fr> <20040426115842.GA4144@Shark.localdomain> <xzphdv5wq2q.fsf@dwp.des.no> <20040427160737.GA1325@Shark.localdomain> <xzpr7u918jv.fsf@dwp.des.no> <20040428023920.GA382@Shark.localdomain> <xzpfzao18gd.fsf@dwp.des.no> <20040428163104.GA10537@Shark.localdomain> <20040428101138.38e25081.cpressey@catseye.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Apr 28, 2004 at 10:11:38AM -0700,
 Chris Pressey probably wrote:
> On Wed, 28 Apr 2004 20:31:04 +0400
> Sergey Zaharchenko <doublef@tele-kom.ru> wrote:
> > 
> > If I take out every word about main() from C's specification (making
> > it an ordinary function), will the resulting `language' stay
> > Turing-complete?
> 
> Not AFAIK.
> 
> > If not, why?
> 
> You no longer have a start state.
> 

What if I add `The function with the same name as the executable starts
the program's execution like main() does in C'?

-- 
DoubleF
Decision maker, n.:
	The person in your office who was unable to form a task force
before the music stopped.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAkG+Lwo7hT/9lVdwRAvTQAJ0f6cSKEIkPLrJnwJnlUtVQx7O6/wCcDhG5
q0DpeZUjUNfAVbHvUbbUie0=
=Xl9Z
-----END PGP SIGNATURE-----

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