Re: How important is software maintenance?



Pascal Bourguignon said:

Any program starts as:

int main(void){
return(0);
}

Not on my watch, it doesn't. For one thing, unnecessary parentheses
should be eschewed. More importantly, most of the programs I write
nowadays make heavy use of libraries that I wrote some time ago, so
there's a case for saying that main() is how the program ends, rather
than how it starts.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.



Relevant Pages

  • Re: gdb vs C standard
    ... I am debugging some code with gdb and want to watch a 64-bit long int ... But gdb can only set 32-bit width watches. ...
    (comp.lang.c)
  • Re: opening website
    ... Pascal Bourguignon said: ... int main ... puts("Error opening file"); ... Umesh's articles in comp.lang.c are the work of ...
    (comp.programming)
  • Re: "C vs java"
    ... Unnecessary parentheses don't change the ... action of the compiler. ... int main ... bash-2.02$ gcc -c -Wall test.c ...
    (comp.lang.c)
  • Re: gdb vs C standard
    ... I am debugging some code with gdb and want to watch a 64-bit long int ... But gdb can only set 32-bit width watches. ... pointer conversion is u/b according to the C standard. ...
    (comp.lang.c)
  • Re: gdb vs C standard
    ... I am debugging some code with gdb and want to watch a 64-bit long int ... But gdb can only set 32-bit width watches. ...
    (comp.lang.c)