C programming help
andrew clarke
mail at ozzmosis.com
Sun Apr 18 22:28:14 UTC 2010
On Sun 2010-04-18 15:54:09 UTC-0600, Karl Larsen (klarsen1 at gmail.com) wrote:
> >On Sun 2010-04-18 14:29:16 UTC+0200, Ugur Arpaci (ugurarpaci at gmail.com) wrote:
> >>The problem is; i must make those changing on Terminal by moving cursor
> >>left and right by arrow keys.
>
> Here is a general string using c code from The New C Primer
> Plus, Second Edition SAMS Publishing. This is the example strings.c
> shown on page 360 which I had to correct several errors in. But this
> works fine.
>
> It is attached to this message. I hope it makes it.
It made it but is irrelevant to the OP's question, due to the cursor
key movement requirement.
I don't think you read the OP's original question, or did not
understand it.
Incidentally gets() is dangerous and should NEVER be used because of
lack of bounds checking.
More information about the ubuntu-users
mailing list