Re: [Lug-Nuts] C problems

From: Sean-Paul Rees (sean@dreamfire.net)
Date: Thu Oct 21 1999 - 18:16:32 PDT


Brian Lavender wrote:
>
> I am trying to get this simple C program to work and no go. What
> am I doing wrong?

You are making it too much work.

/* brianfix.c */

int main(void)
{
        printf("Hello crypt %s\n", crypt("My blue heaven", "AB"));
}

/* EOF */

Compile with: cc brianfix.c -o brianfix -lcrypt

Cheers,
Sean



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:07 PST