Liste des Groupes | Revenir à cl c |
David Brown <david.brown@hesbynett.no> writes:I'd always assumed it was because 'index' was too much to type, and that j and k just followed on.On 05/03/2025 18:51, Scott Lurndal wrote:That doesn't mean that C programmers didn't adopt theRichard Harnden <richard.nospam@gmail.invalid> writes:>On 05/03/2025 17:09, Janis Papanagnou wrote:>On 05.03.2025 17:40, bart wrote:[...]>>
Seriously, short variable names for common things - i, j, k for loop
counters;
So, one might ask _why_ i, j, k instead of a, b, c?
>
Answer: Fortran IMPLICIT INTEGER
>
Nonsense.
>
Ask rather why Fortran picked i, j, k for integer-type index variables.
Their use for that function in maths /long/ predates Fortran.
use of i,j,k from FORTRAN.
Les messages affichés proviennent d'usenet.