Re: C programming help



On Sun, Apr 18, 2010 at 02:29:16PM +0200, Ugur Arpaci wrote:
I am working on a project by using C programming language, but i stuck
somewhere and i need help.
I am reading strings from a file, and i need to make some changes from one
of these string and then i will write this string back to the file.
The problem is; i must make those changing on Terminal by moving cursor left
and right by arrow keys.
(There will be string, i make changes on it, when i press ENTER, i pass this
string modification part)
any idea?

Have a look at libreadline.

Marius Gedminas
--
"Linux was made by foreign terrorists to take money from true US companies
like Microsoft." -Some AOL'er.
"To this end we dedicate ourselves..." -Don
(From the sig of "Don" <don@xxxxxxxxxx>)

Attachment: signature.asc
Description: Digital signature

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: reading strings with different lengths
    ... If you are just reading strings, ... Read (INPUT, FileName, NameLength); ... When reading the text file with a process I have to declare a string ... variable resu: string; ...
    (comp.lang.vhdl)
  • C programming help
    ... I am working on a project by using C programming language, but i stuck ... I am reading strings from a file, and i need to make some changes from one ... of these string and then i will write this string back to the file. ...
    (Ubuntu)
  • Re: Can python read up to where a certain pattern is matched?
    ... > It is all right except for the string addition. ... That, and I suspect that reading strings in chunks, rather than 1 byte at a ...
    (comp.lang.python)
  • Re: RosAsm Bliss, and NASM Bliss
    ... Windows and Linux. ... looks like a Troll compared to the windows one. ... I think its hard to judge from the HLA code. ... checks to see if there is already a string allocated, if so, frees ...
    (alt.lang.asm)
  • Re: Lenovo ThinkPads need acpi_osi="Linux"
    ... that the Lenovo BIOSes need the OSI string Linux defined to behave properly ... Lenovo has been attempting to make things a bit easier for Linux on their ... which used the Linux OSI string to fix or work around AML weirdness. ...
    (Linux-Kernel)