1. Re: GET.E

Lewis Townsend just wrote:

>Come on Jiri, we would still need the old one for the programs
>already written that do stuff like this:
>
>puts (1, "There is ")
>print (1, 365.25)
>puts (1, " in a year.")
>
>so that it still prints like this:
>
>There is 365.25 days in a year.
>
>instead of like this:
>
>There is 365.25  days in a year.
>                ^
>Notice the extra space.


Lewis, how about

puts(1, "There are 365.25 days in a year"),

or if you really want to torture yourself

x = 365.25
printf(1, "There are %6.2f days in a year.", x)

Are you serious?  jiri

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu