Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] C puzzle



>>>>> "JG" == Josh Glover <jmglov@example.com> writes:

    JG> Viktor Pavlenko wrote:
    >> 
    >> I don't think this one satisfies the original request to turn
    >> the sample into a "correct C program". The original code is
    >> much more correct than your solution:)

    JG> No, my friend. Whether C is "correct" or not is dependent on
    JG> only one thing: compiling and doing what it is supposed
    JG> to. Macho C hackers cackle with glee over this clever use of
    JG> pointer arithmatic. :)

Completely agree with you and withdraw my comments. Apologies to the
author. But I (not being a macho C hacker) never code like that :)

Viktor


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links