Results 1 to 4 of 4

Thread: Need some help plz!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    Sweden
    Posts
    13

    Talking Need some help plz!!

    I hope that someone can help me with this.

    Lets say that I want to let the user of a program edit the text in a file..

    Then of course he must be able to print text, and remove text.

    I dont want to work against the file directly, but against a file buffer, lets say that it would be called textBuffer[].

    the start location in the edit mode, would be after the last character in the textBuffer[] array..

    if the user presses backspace, one char at the time will be removed from the textBuffer[] array, the screen would have to be cleared, and the textBuffer[] array outputted to the screen again..

    the user should also be able to print something to the textBuffer[], where ever he is lokated, exept at textBuffer[tb_size] location ofcourse..

    **The filehandling part is already done, so I dont need help with that... But I would really appriciate if someone could help me with the other stuff.
    ----------------------------------------------------------------------------------
    This is no school project or anything like that, just playing around a bit with the.. Trying to learn about the C++ language, just so you know!!

    Thanks in advance!!
    You can´t hit what you cant see

  2. #2

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    Sweden
    Posts
    13

    Talking Where are you!!

    where are you Zaei, I need help with the problem above!!
    You can´t hit what you cant see

  3. #3
    Hyperactive Member Amon Ra's Avatar
    Join Date
    Feb 2001
    Location
    In some cave on Uranus...
    Posts
    500
    what if you read teh content of the file and output it to an edit window.. after the user is done changing, you can print it back to the file..
    Amon Ra
    The Power of Learning.

  4. #4
    jim mcnamara
    Guest
    or call CteateProcess and WaitForSingleObject - create a
    notepad.exe
    process

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width