> -Original Message-
> From: Kevin D. Clark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 2:46 PM
> To: Price, Erik
> Cc: [EMAIL PROTECTED]
> Subject: Re: shift() in C std lib
>
>
>
> If you're interested in C++, you might check
"Price, Erik" <[EMAIL PROTECTED]> writes:
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote:
>> If you do not already have a copy, obtain a copy of _The C
>> Programming
>> Language_, 2nd edition, by K&R. You must do this if you
>> program in C.
>> It's a law.
>
> I almost got o
On Wed, Dec 11, 2002 at 01:59:30PM -0500, Price, Erik <[EMAIL PROTECTED]> wrote:
> > You're not describing shift. You're describing push.
>
> I thought that push puts it at the end of the array.
You're both wrong. :-) You are talking about Perl's unshift routine.
--
Bob Bell <[EMAIL PROTECTED
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 2:00 PM
> To: Greater NH Linux User Group
> Subject: Re: shift() in C std lib
>
>
> On Wed, 11 Dec 2002, at 1:33pm, [EMAIL PROTECTED] wrote:
> >
> -Original Message-
> From: Steven W. Orr [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 11, 2002 1:58 PM
> To: Price, Erik
> Cc: [EMAIL PROTECTED]
> Subject: Re: shift() in C std lib
>
>
> On Wed, 11 Dec 2002, Price, Erik wrote:
>
> =
On Wed, 11 Dec 2002, at 1:33pm, [EMAIL PROTECTED] wrote:
> Is there a utility other than grep for finding useful functions in the C
> std library?
"man" is good. For string functions, start with "man string".
If you do not already have a copy, obtain a copy of _The C Programming
Language_, 2
On Wed, 11 Dec 2002, Price, Erik wrote:
=>I'm wondering if there's a shift() function (similar to the one in Perl/
=>PHP/etc) in the C standard library? (I have access to the C std lib
=>that comes with Gentoo linux, if that matters any.)
=>
=>That would accept an array pointer and a char as an a