Liste des Groupes | Revenir à cl c |
Ike Naar <ike@sdf.org> writes:On 2024-12-06, Bart <bc@freeuk.com> wrote:>My language:>
>
println =a,=b # 13 characters, 0 shifted
>
(And that space is optional!) In C (assume the existence of stdio.h):
>
printf("A=%lld B=%f\n",a,b); # ~28 characters, 8 shifted
>
Enough said.
Looks like a cherry-picked example.
How would this (slightly modified) C statement be notated in your language:
>
printf("a:%lld b:%g\n",a,b);
>
?
Or
>
printf("a:%2$8.8lld b:%1$10.2g",b,a);
Les messages affichés proviennent d'usenet.