Beginning C++ in FreeBSD
Sergey Zaharchenko
doublef at tele-kom.ru
Wed Apr 28 19:59:31 PDT 2004
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 at 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.
-------------- 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/20040429/84b450f6/attachment.bin
More information about the freebsd-chat
mailing list