C++ project
Hi, everyone
I'm new to c++ and not much understand it. So we have a group project that wants us to write a program to look like word processor and have #Copy, #Insert, #Delete, #Move, #Type and couple more. I was assigned to write #Move which is move things like word processor dose, but I don't understand how to do. So, can somebody help me with this? |
you can download this one, and try to analyze the code
http://sourceforge.net/projects/abiword/ |
What does a word processor "move"? Any examples?
|
Moved: This thread is more suitable in <Programming> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Here is example:
The commands will be like M2, or M-4 M2 would move change move and print the line that is 2 lines ahead, while changing the current line to that line. M-4 would move back and print the line that is 4 lines back, and change the current line to that line. It's getting late so that's the best explanation I can do for now. |
Quote:
You need to "store" lines. Secondly, how do you define a line? A bunch of characters which fills up ONE row on a screen? OR A statement which is lengthy and therefore fills up many rows on the screen? What have you done to get started? We can talk about C++ later on. I think, the logic matters most, syntax can wait. |
All times are GMT -5. The time now is 06:07 AM. |