Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Working with unsigned/signed types

Reply
Thread Tools

Re: Working with unsigned/signed types

 
 
Hendrik van Rooyen
Guest
Posts: n/a
 
      12-21-2006
"Thomas Ploch" <(E-Mail Removed)> wrote:


> Ben Finney schrieb:
> > "John Machin" <(E-Mail Removed)> writes:
> >
> >> Ben Finney wrote:
> >>
> >>> \ "...one of the main causes of the fall of the Roman Empire was |
> >>> `\ that, lacking zero, they had no way to indicate successful |
> >>> _o__) termination of their C programs." -- Robert Firth |
> >> An amusing .sig, but it doesn't address the root cause: As they had no
> >> way of testing for the end of a string, in many cases successful
> >> termination of their C programs would have been unlikely.

> >
> > Yet historically proven: the 'imperium' process they were running
> > terminated many centuries ago.
> >
> > Or did it fork and exec a different process?
> >

>
> And what about the C-Programs running in the middle of the sun or earth
> making them spinning around or having nuclear reactions controlled. I
> hope they won't terminate in the near future with exit status != 0


naaah - you don't have to worry - for real control He uses assembler.
with jump statements.
so the loops are closed.

Unfortunately its not open source. Yet.

- Hendrik

 
Reply With Quote
 
 
 
 
Dan Bishop
Guest
Posts: n/a
 
      12-24-2006
Dec 20, 10:36 am, Felix Benner <(E-Mail Removed)> wrote:

> static int main(int argc, char **argv) {
> char *god_name;
> if (argc)
> god_name = argv[1];
> else
> god_name = "YHWH";
> metaPower God = getGodByName(god_name);
> universe *everything = makeUniverse(God);
> while (simulatePhysics(everything));
> return 0;
> }


This won't work if there are no command-line arguments. You mean if
(argc > 1).

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can XSD simple types be derived from complex types? Soren Kuula XML 2 12-01-2005 07:51 PM
Where are ref types that are members of value types stored? Sathyaish ASP .Net 2 05-22-2005 07:32 PM
missing types in module types? Manlio Perillo Python 0 05-29-2004 06:33 AM
Boost + Python C/API: Mixing python return types with boost return types Steve Knight Python 2 10-10-2003 10:11 AM
STD types vs C++ intrinsic types Jeremy Cowles C++ 5 08-19-2003 05:33 PM



Advertisments