Liste des Groupes | Revenir à cl c |
Muttley@dastardlyhq.com writes:
>On Sat, 10 May 2025 06:43:38 -0700>
Tim Rentsch <tr.17687@z991.linuxsc.com> gabbled:
>never necessary). Also it isn't easy to think of a good substitute>
word that might be given for this use of 'static', so maybe the
Isn't it?
>
Where "static" means local to a module the words
"local","module","limit" spring to mind which are far closer to
the intended meaning. Reusing "static" seems somewhat perverse
IMO.
The use I'm talking about here may be illustrated as follows:
>
double
average( double values[ static 10 ] ){
double total = 0;
for( int i = 0; i < 10; i++ ){
total += values[i];
}
return total / 10;
}
>
What word would you suggest to be used in place of 'static'
there?
Les messages affichés proviennent d'usenet.