Re: Beginning C++ in FreeBSD
--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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:
> >=20
> > If I take out every word about main() from C's specification (making
> > it an ordinary function), will the resulting `language' stay
> > Turing-complete?
>=20
> Not AFAIK.
>=20
> > If not, why?
>=20
> You no longer have a start state.
>=20
What if I add `The function with the same name as the executable starts
the program's execution like main() does in C'?
--=20
DoubleF
Decision maker, n.:
The person in your office who was unable to form a task force
before the music stopped.
--ZGiS0Q5IWpPtfppv
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAkG+Lwo7hT/9lVdwRAvTQAJ0f6cSKEIkPLrJnwJnlUtVQx7O6/wCcDhG5
q0DpeZUjUNfAVbHvUbbUie0=
=Xl9Z
-----END PGP SIGNATURE-----
--ZGiS0Q5IWpPtfppv--
討論串 (同標題文章)
完整討論串 (本文為第 39 之 43 篇):