|
-
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
-
Mar 21st, 2002, 05:13 PM
#2
Thread Starter
New Member
Where are you!!
where are you Zaei, I need help with the problem above!!
You can´t hit what you cant see
-
Mar 24th, 2002, 09:20 PM
#3
Hyperactive Member
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.
-
Mar 24th, 2002, 11:33 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|