|
-
Mar 21st, 2002, 05:03 PM
#1
Thread Starter
New Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|