".....treat buffer as an array buffer[ character_position ]",
can you explain this buffer; are you just using buffer to mean temp; as in
temp memory
thanks
bob ryan
Christopher Carver <[EMAIL PROTECTED]> wrote: I'm
not going to provide source, but here are two ways to traverse a
string which might get you going in the right direction.
char *buffer = "Hello";
char *buffer_ptr;
buffer_ptr = buffer;
Now you can either treat buffer as an array buffer[ character_position ]
or use the buffer_ptr and "walk" the pointer. You know you are at the
end of the string when you hit the '\0' character.
Sorry, but handing you answer will not teach you, but I hope this gets
you where you want to go.
On Fri, 2007-12-21 at 06:41 +0000, p.angel88 wrote:
> write a program which copies one string value to another string
> variable(without using the help of strcpy)
>
>
>
>
>
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
[Non-text portions of this message have been removed]